A StatefulWidget is a widget that changes state.
Use the setState method to manage the state changes for a StatefulWidget.
A call to setState() tells the Flutter framework that something has changed in a state, which causes an app to rerun the build() method so that the app can reflect the change.
Basically, User interactive and dynamic.
Examples: –
- Checkbox
- Radio
- Slider
- InkWell
- Form TextField
