How many times initState is called?

initState is called only once for every widget . didChangeDependencies may be called multiple times per widget lifecycle in my case it was called when the keyboard appears/disappears. initState() Called when a new Widget is inserted into the tree.

Sizin İçin Seçtik  How do you use late keyword in darts?

Leave a Reply

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