List different types of widgets available in Flutter?

devquora
devquora

Posted On: May 10, 2023

 

Two types of widgets present in the Flutter are stateless and stateful.

The stateless widgets don’t store any values which will change in the future. The stateless widgets don’t store any state. Icon, text widgets are some examples of stateless widgets.

The stateful widgets have a state object to keep track of all the changes and updates happening in the UI. These widgets are immutable but the state object is used to keep track of the changes. Checkbox and image are some of the examples of stateful widgets.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions