List different types of widgets available in Flutter?

Posted On: Mar 29, 2020


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

    Flutter Interview Questions

    Explain What is Flutter?

    An open-source UI SDK, Flutter is developed by Google to develop UI for Android, iOS, Windows, Mac, and other major platforms. Initially released in May 2017, Flutter enables you to create natively co...

    Flutter Interview Questions

    Enlist some major features of Flutter?

    Some of the major features of using Flutter is, Fast Development - With the use of a rich set of fully customizable widgets, you can build native interfaces in minutes with Flutter. Expressive and ...

    Flutter Interview Questions

    List some advantages of Flutter?

    Some advantages of using Flutter are,With Flutter, you can use the same UI and Business logic on all platforms. Flutter reduces the time of building application as it applies the changes instant...