FutureProviderFamily<State, Arg> class
Null safety
A class that allows building a FutureProvider from an external parameter.
- Inheritance
-
- Object
- Family<
AsyncValue< State> , Arg, FutureProvider<State> > - FutureProviderFamily
- Available Extensions
- Annotations
Constructors
-
FutureProviderFamily(FamilyCreate<
FutureOr< _create, {String? name, List<State> , FutureProviderRef<State> , Arg>ProviderOrFamily> ? dependencies}) - A class that allows building a FutureProvider 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.
read-onlyinherited
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- name → String?
-
The family name.
finalinherited
-
overriddenFamily
→ Family<
Object?, Arg, ProviderBase< Object?> > -
The family that was overridden.
read-onlyinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
call(
Arg argument) → FutureProvider< State> -
Create a provider from an external value.
inherited
-
create(
Arg argument) → FutureProvider< State> -
Creates the provider for a given parameter.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
overrideWithProvider(
AlwaysAliveProviderBase< AsyncValue< override(Arg argument)) → OverrideState> > - 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