I read docs, and looked a lot of examples, but still can't understand should I use Provider
if I need access to data in several classes. The main problem -- context
that do not exists outside widgets.
So probably I do not understand conception of Provider? Here small example what I mean:
class A
{
String foo;
}
and
class B
{
String x;
Provider<A>.of(context).foo = "aaa";
}
I faced with this problem and I do not know how to resolve it.