artemniy
artemniy

Reputation: 21

Do not use BuildContexts across async gaps (State management)

I've just upgraded to the major version of flutter lints and I faced this warning about using BuildContext in async methods. I found some answers for this issue without state management, but I don't understand how to use "mounted" in my provider or how to just make it the right way The warning in async method

Upvotes: 0

Views: 87

Answers (0)

Related Questions