Professional Documents
Culture Documents
Mobile Computing Lab3
Mobile Computing Lab3
u These widgets let you align children horizontally and vertically as per the requirement.
u children: This property takes in List<Widget>, that is a list of widgets to display inside
the Row or the Column widget.
u direction: This property holds as the Axis enum object to decide the direction used in the main
axis. For Row and Column, it is fixed.
u mainAxisSize: This property decides the size of main-axis by taking in MainAxisSize enum as
the object.
Row Column
Singlechildscrollview
Listview
ListView.builder
gridview
Icon and Iconbutton
Expanded
stateless stateful
u Stateless Widgets are static widgets. u Stateful Widgets are dynamic widgets.
u They do not depend on any data change u They can be updated during runtime based on user
or any behavior change. action or data change.
u Stateless Widgets do not have a state, u Stateful Widgets have an internal state and can re-
they will be rendered once and will not render if the input data changes or if Widget’s state
update themselves, but will only be changes.
updated when external data changes.
u For Example: Checkbox, Radio Button, Slider are
u For Example: Text, Stateful Widgets
Icon, RaisedButton are Stateless
u EX : create new project and see stateful widget
Widgets.
task with bonus
Thanks !