Can I use provider in initState?

If you want to listen to the new value, don’t put the provider in the initState() , it will cause an exception .

Sizin İçin Seçtik  How do you define setState in flutter?

Leave a Reply

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