StreamsProviderExtension extension

Extends the BuildContext class with the ability to perform a lookup based on a StreamProvidable type.

on

Methods

provider<P extends StreamsProvidable>() → P

Available on BuildContext, provided by the StreamsProviderExtension extension

Performs a lookup using the BuildContext to obtain the nearest ancestor StreamProvidable of type P.