ProviderListenable<StateT> class abstract interface

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:

Implemented types
Available extensions
Annotations

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<InT>, provided by the ProviderListenableSelect extension

Partially listen to a provider.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited