A stateful widget is defined as any widget which changes its state within its lifetime. But it is a very common practice for a StatelessWidget to have a S
StatelessWidget
S
What are Stateful and Stateless widgets?
Stateless Widget : Stateless widget are builds only when it is of parent changes.
Stateful Widgets : State full widgets holds state of the widget and can be rebuild when the state change.