Flutter is all about widgets. If you want to develop an application you have to first decide which widgets you are going to use. Each widget has its state.

What is State?

The state is information that can read simultaneously when the widget is built and might change during runtime, in short, we can say that State define the current property of Widget.

Classes that inherit Stateful Widget are immutable, But State is mutable.

(Immutable class means that once an object is created, we cannot change its content. A mutable class is one that can change its internal state after it is created.)

#mobile-app-development #flutter-widget #flutter-ui #flutter #dart

Flutter: Stateful Widget vs. Stateless Widget
14.40 GEEK