Flutter widgets
- Text
- row, column
- Container
- Stack
- BoxDecoration, TextStyle, Padding, SizeBox
- ListView, GridView, SingleChildScrollView
- Expanded, Flex
- InkWell, GestureDetector
Stateless widgets
Stateless widgets never change
Ex: icon, container, text
Stateful widgets
if a widget can change, when the user interacts with it,
its's stateful
it's dynamic
widget's state is stored in a state object
Ex: Checkbox, radio , slider, Form , TextField
Navigation
Navigator.push(
context,
MaterialPAgeRoute(builder:(context) => SecondRoute()).
);
Navigator.pop(context);
Comments
Post a Comment