What is the build method?

The build method is called any time you call setState , your widget’s dependencies update, or any of the parent widgets are rebuilt (when setState is called inside of those). Your widget will depend on any InheritedWidget you use, e.g. Theme. of(context) , MediaQuery. of(context) etc.16 Ağu 2019

Sizin İçin Seçtik  Which is the base class of widget?

Leave a Reply

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

What is the build method?

The build method is called any time you call setState , your widget’s dependencies update, or any of the parent widgets are rebuilt (when setState is called inside of those). Your widget will depend on any InheritedWidget you use, e.g. Theme. of(context) , MediaQuery. of(context) etc.16 Ağu 2019

Sizin İçin Seçtik  Which is the base class of widget?

Leave a Reply

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