Can you have multiple providers in Flutter?

It is impossible to do so . You have to provide different types of provider to get correct value. If you use same provider more than once then it will give you value of nearest provider value in widget tree. It is also mention in their official documentation.

Sizin İçin Seçtik  Should I use provider Flutter?

Leave a Reply

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