State objects are created by the framework by calling the StatefulWidget.createState method when inflating a StatefulWidget to insert it into the tree. What does inflating StatefulWidget mean here?
Here, "inflating" means "adding". createState()
helps us in adding(inflating) state(information) to our StatefulWidget.
When we create a widget(say Container widget), we add other properties to it(like height, width and background-color).
We can say that we're "inflating" our Container widget with height, width and background-color.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With