What’s the job of the build () method?

build method Null safety Describes the part of the user interface represented by this widget . The framework calls this method when this widget is inserted into the tree in a given BuildContext and when the dependencies of this widget change (e.g., an InheritedWidget referenced by this widget changes).

Sizin İçin Seçtik  What is lifecycle of a widget in Flutter?

Leave a Reply

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