A base class for all providers, used to consume a provider.
It is used by ProviderContainer.listen and ref.watch
to listen to
both a provider and provider.select
.
Should override ==/hashCode when possible
See also:
- SyncProviderTransformerMixin and AsyncProviderTransformerMixin, for making custom ProviderListenables.
- Implemented types
- Available extensions
- Annotations
-
- @immutable
- @publicInCodegen
- @publicInMisc
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
select<
OutT> (OutT selector(InT value)) → ProviderListenable< OutT> -
Available on ProviderListenable<
Partially listen to a provider.InT> , provided by the ProviderListenableSelect extension -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited