Meshy is not for Flutter initially but Messi has always been one of the best for Football.

in #flutter2 years ago (edited)

messi.png
At the beginning of the Flutter framework lesson we find it difficult to set the relationship between the main function, stateless and stateful widgets.
We find it easy to write widgets inside the main function but gradually as our code base grows we realize that
Meshy is not for flutter initially but Messi has always been one of the best for football.
We can write meshy code in Flutter framework's main.dart file but debugging the code will be very difficult. In these situations, stateless and stateful widgets are used to categorize dynamic and static codes into separate classes that can reduce debugging time when needed.
This can help us visualize the code flow easily.
We need stateless and stateful classes to organize our code based on the attributes of the code.
If the code changes the state of the screen then such code will be placed in the stateful class and if the code does not change the state of the screen then the code will be placed in the stateless class.

Coin Marketplace

STEEM 0.16
TRX 0.17
JST 0.029
BTC 69212.15
ETH 2511.68
USDT 1.00
SBD 2.57