AlwaysAliveProviderBase<Created, Listened> class abstract

A base class for providers that never disposes themselves.

This is the default base class for providers, unless a provider was marked with the .autoDispose modifier, like: Provider.autoDispose(...)

Inheritance
Implementers

Constructors

AlwaysAliveProviderBase(String? name)
Creates an AlwaysAliveProviderBase.

Properties

argument Object?
If this provider was created with the .family modifier, argument is variable used.
no setterinherited
debugId String
A unique identifier for this provider, used by devtools to differentiate providers
latefinalinherited
from Family<dynamic, dynamic, dynamic, ProviderReference, RootProvider>?
If this provider was created with the .family modifier, from is the .family instance.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
name String?
A custom label for providers.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

create(ProviderReference ref) → Created
inherited
createElement() ProviderElement<Created, Listened>
An internal method that defines how a provider behaves.
override
createState() → ProviderStateBase<Created, Listened>
An internal method that creates the state of a provider.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
select<Selected>(Selected selector(Listened value)) ProviderListenable<Selected>
Partially listen to a provider.
inherited
toString() String
A string representation of this object.
inherited

Operators

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