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  What is the difference between Statelesswidget and StatefulWidget?

Leave a Reply

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