AutoDisposeStateProviderFamily<State, Arg> class

Inheritance
Annotations
  • @sealed

Constructors

AutoDisposeStateProviderFamily(FamilyCreate<State, AutoDisposeStateProviderRef<State>, Arg> _create, {String? name, List<ProviderOrFamily>? dependencies})

Properties

allTransitiveDependencies List<ProviderOrFamily>?
All the dependencies of a provider and their dependencies too.
latefinalinherited
dependencies List<ProviderOrFamily>?
The list of providers that this provider potentially depends on.
finalinherited
from Family<dynamic, dynamic, ProviderBase>?
The family that this provider/family depends on.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
name String?
The family name.
finalinherited
overriddenFamily Family<Object?, Arg, ProviderBase<Object?>>
The family that was overridden.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

call(Arg argument) AutoDisposeStateProvider<State>
Create a provider from an external value.
inherited
create(Arg argument) AutoDisposeStateProvider<State>
Creates the provider for a given parameter.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
overrideWithProvider(AutoDisposeStateProvider<State> override(Arg argument)) Override
Overrides a provider with a value, ejecting the default behaviour.
setupOverride(Arg argument, SetupOverride setup) → void
Allows a family to override all the different providers associated with an argument.
override
toString() String
A string representation of this object.
inherited

Operators

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