All About Flutter Widget
The central idea is that you build your UI out of widgets. Widgets describe what their view should look like given their current configuration and state. When a widget’s state changes, the widget rebuilds its description, which the framework diffs against the previous description in order to determine the minimal changes needed in the underlying render tree to transition from one state to the next.
Flutter Widget Types
From now on there is 2 types of Flutter widget available
-
Stateless Widget: Stateless widgets are immutable, meaning that their properties can’t change, all values are final.
-
Stateful Widget: Stateful widgets maintain state that might change during the lifetime of the widget.