ProviderBase<Created, Listened> class
abstract
A base class for all providers.
- Implemented types
-
- ProviderListenable<
Listened>
- ProviderListenable<
- Implementers
Constructors
- ProviderBase(String? name)
- A base class for all providers.
Properties
- argument → Object?
-
If this provider was created with the
.family
modifier, argument is variable used.no setter - debugId ↔ String
-
A unique identifier for this provider, used by devtools to differentiate providers
latefinal
-
from
→ Family<
dynamic, dynamic, dynamic, ProviderReference, RootProvider> ? -
If this provider was created with the
.family
modifier, from is the.family
instance.no setter - hashCode → int
-
The hash code for this object.
no setteroverride
- name → String?
-
A custom label for providers.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
create(
ProviderReference ref) → Created -
createElement(
) → ProviderElement< Created, Listened> - An internal method that defines how a provider behaves.
-
createState(
) → ProviderStateBase< Created, Listened> - An internal method that creates the state of a provider.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited