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 -
Performs a lookup using the
BuildContext
to obtain the nearest ancestorStreamProvidable
of typeP
.