ecome-earth / SFW-Microorganism-App

Soil Food Web Microorganism App
GNU General Public License v3.0
5 stars 0 forks source link

Refactoring #27

Open mwatidy opened 2 years ago

mwatidy commented 2 years ago

Refactor the code to make it consistent and stop terminate any performance issues.

According best practices you should also make sure of the following: 1- use const on Widgets that don't change 2- The Main reason of Flutter v2.0 is Type Safety so please Avoid using var in Type Naming 3- use classes for widgets instead of methods please check the example below

instead of having a method inside the class like : showPopup() { return Popup } make it like ShowPopup extends StatelessWidget { Widget () { return Popup } }

if you see some mistake put it in the convention section in the CONTRIBUTE.md

haythemd commented 2 years ago

2 Hours : - Refactoring Code and Deleting unused imports -- PAID