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
When writing an app, you’ll commonly author new widgets that are subclasses of either StatelessWidget or StatefulWidget
Here is some Differences Between StatelessWidget and StatefulWidget Widgets:
Stateless Widget:
Text, Icon, RaisedButton are Stateless Widgets.Stateless Widget:
Checkbox, Radio Button, Slider are Stateful Widgets