AutoDisposeStateNotifierProviderFamily<Notifier extends StateNotifier<State> , State, Arg> class
A class that allows building a StateNotifierProvider from an external parameter.
- Inheritance
-
- Object
- Family<
State, Arg, AutoDisposeStateNotifierProvider< Notifier, State> > - AutoDisposeStateNotifierProviderFamily
- Annotations
-
- @sealed
Constructors
-
AutoDisposeStateNotifierProviderFamily(FamilyCreate<
Notifier, AutoDisposeStateNotifierProviderRef< _create, {String? name, List<Notifier, State> , Arg>ProviderOrFamily> ? dependencies}) - A class that allows building a StateNotifierProvider from an external parameter.
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) → AutoDisposeStateNotifierProvider< Notifier, State> -
Create a provider from an external value.
inherited
-
create(
Arg argument) → AutoDisposeStateNotifierProvider< Notifier, State> -
Creates the provider for a given parameter.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
overrideWithProvider(
AutoDisposeStateNotifierProvider< Notifier, 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