Row widget places one or more children in the horizontal axis with the given space constraints
Just like Column Widget, Row can also take any number of children in it
Implementing Row widget in Flutter
Widgets in rows can be placed in different ways according to the value of mainAxisAlignment.
The default behavior is start but of course it can be changed passing different values to the constructor as :-
-Center
-Start
-End
-Spacearound
-Spacebetween
Some Important Properties of Row Widgets are
-children : List<Widget>
List the child widget
-mainAxisAlignment : MainAxisAlignment
Arrangement of children horizontally
-crossAxisAlignment : CrossAxisAlignment
Arrangement of children vertically
1. Put that Phone in Blind Spot :- While writing code on Laptop I put my phone behind the laptop as itโs kind of blind spot for my eye and that phone now never try to attract me
2. Use Pomodoro Technique :- Work for 50 minutes + take rest for 10 minutes