My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more

STATEFUL AND STATELESS WIDGET IN FLUTTER

Emmanuel's photo
Emmanuel
·Aug 26, 2020·

1 min read

Applications developed in flutter can be of two widget states

  1. Stateless
  2. Stateful

let's look more into them below.

  1. Stateless Widget: In this type of state the application developed doesn't change it state i.e the visible interface of the user isn't changing as it is pressed by the user , the app is in its static state but something is going on in the console which is visible to the app developer, app that are created in the stateless widget are limited to some certain functionality.

  2. Stateful widget: This is the opposite of the stateless widget , here the user interface of our app changes as its is pressed by the user, the app becomes dynamic and more interactive because of the this widget, the apps made in the stateful widget has a lot of functionality.