What is createState () in flutter?

createState method Null safety Creates the mutable state for this widget at a given location in the tree . Subclasses should override this method to return a newly created instance of their associated State subclass: @override State<MyWidget> createState() => _MyWidgetState();

Sizin İçin Seçtik  Does Flutter have lifecycle?

Leave a Reply

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