PersistentSyncedStateProvider<T> class
Properties
-
allTransitiveDependencies
→ List<ProviderOrFamily>?
-
All the dependencies of a provider and their dependencies too.
latefinalinherited
-
argument
→ Object?
-
If this provider was created with the
.family
modifier, argument
is
variable used.
finalinherited
-
dependencies
→ List<ProviderOrFamily>?
-
The list of providers that this provider potentially depends on.
latefinalinherited
-
from
→ Family<dynamic, dynamic, ProviderBase>?
-
If this provider was created with the
.family
modifier, from
is the .family
instance.
finalinherited
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
name
→ String?
-
A custom label for providers.
finalinherited
-
notifier
→ AlwaysAliveProviderBase<_PersistentSyncedStateNotifier<T>>
-
Obtains the
StateNotifier
associated with this StateNotifierProvider
,
without listening to it.
finalinherited
-
originProvider
→ ProviderBase<_PersistentSyncedStateNotifier<T>>
-
The provider that will be refreshed when calling
ProviderContainer.refresh
and that will be overridden when passed to ProviderScope
.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
awaitInitialized()
→ Future<void>
-
-
create(covariant ProviderElementBase<T> ref)
→ T
-
Initializes the state of a provider
inherited
-
createElement()
→ ProviderElementBase<T>
-
An internal method that defines how a provider behaves.
inherited
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
overrideWithProvider(StateNotifierProvider<_PersistentSyncedStateNotifier<T>, T> value)
→ Override
-
Overrides a provider with a value, ejecting the default behaviour.
inherited
-
overrideWithValue(_PersistentSyncedStateNotifier<T> value)
→ Override
-
Overrides a provider with a value, ejecting the default behaviour.
inherited
-
select<Selected>(Selected selector(T value))
→ AlwaysAliveProviderListenable<Selected>
-
Partially listen to a provider.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
-
updateShouldNotify(T previousState, T newState)
→ bool
-
Called when a provider is rebuilt. Used for providers to not notify their
listeners if the exposed value did not change.
inherited