How do you call a provider in another provider Flutter?

It’s simple: the first Provider provides an instance of a class, for example: LoginManager . The other Provides MessageFetcher . In MessageFetcher , whatever method you have, just add the Context parameter to it and call it by providing a fresh context .3 Eyl 2019

Sizin İçin Seçtik  What is stream provider in Flutter?

Leave a Reply

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