What does initState () do in Flutter?

InitState() is used to subscribe to the object . Overriding of initState() method performs initialization which depends on the location at which this object was inserted into the tree (like context) or on the widget used to configure this object (or widget).

Sizin İçin Seçtik  What is inherited widget in flutter?

Leave a Reply

Your email address will not be published. Required fields are marked *