readProvider<Result> function
Load the provider.
It is freely available from outside the widget.
Please specify the provider you want to load in provider
.
Implementation
Result readProvider<Result>(ProviderBase<Object?, Result> provider) {
return _container.read(provider);
}