chapter two
chapter two
In Flutter, widgets can be grouped into multiple categories based on their
features
2. Layout widgets
Widget derived from StatelessWidget does not have any state information but it may
The dynamic nature of the application is through interactive behavior of the widgets
For example, tapping a counter button will increase / decrease the internal state of the
counter by one and reactive nature of the Flutter widget will auto re-render the widget
style, TextStyle − Specify the style of the string using TextStyle class
textAlign, TextAlign − Alignment of the text like right, left, justify, etc.,
using TextAlign class
textDirection, TextDirection − Direction of text to flow, either left-to-right or
right-to-left
Image widget