Is initState called before build?

Fact: Both: initState() and didChangeDependencies() are called before build() is called . The only difference is that initState() is called before the state loads its dependencies and didChangeDependencies() is called a few moments after the state loads its dependencies.

Sizin İçin Seçtik  How do you get the future function value in Flutter?

Leave a Reply

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