FLUTTER INTERVIEW QUESTIONS

What is a State object that you need to create in every StatefulWidget?

Jelena Lecic
2 min readJan 11, 2020

--

As we already know, Widgets are immutable(their fields must be final), and in order to be able to change widget’s appearance over time, we need to introduce the State class.

Everything starts with overriding createState() method in StatefulWidget:

--

--