Are you looking to get certified in DevOps, SRE and DevSecOps?
Get Certified!
Ahead from others!
Security is Key
Tomorow's Platform!

Stateful and Stateless widget in Flutter.

Stateful Widget :- When user interacts with an App and the widget change then it is called Stateful Widget. A Stateful widget is Dynamic.

For Example :- When user click on a button on App and text changes then it is called Stateful Widget.

When the widget’s state changes, the state objects calls setState(), telling the framework to redraw the widget.

Stateless :- A Stateless widget has no internal state to manage.

For Example :- Icon , IconButtons, Text , etc.