Family<State, Arg, FamilyProvider extends ProviderBase<State>> class abstract

A base class for all families

Implemented types
Implementers
Available extensions

Constructors

Family({required String? name, required List<ProviderOrFamily>? dependencies})
A base class for all families

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.
final
from Family<dynamic, dynamic, ProviderBase>?
The family that this provider/family depends on.
no setter
hashCode int
The hash code for this object.
no setterinherited
name String?
The family name.
final
overriddenFamily Family<Object?, Arg, ProviderBase<Object?>>
The family that was overridden.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

call(Arg argument) → FamilyProvider
Create a provider from an external value.
create(Arg argument) → FamilyProvider
Creates the provider for a given parameter.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
overrideWithProvider(AutoDisposeProviderBase<State> override(Arg argument)) Override

Available on Family<State, Arg, FamilyProvider>, provided by the XAutoDisposeFamily extension

Overrides the behavior of a family for a part of the application.
overrideWithProvider(AlwaysAliveProviderBase<State> override(Arg argument)) Override

Available on Family<State, Arg, FamilyProvider>, provided by the XFamily extension

Overrides the behavior of a family for a part of the application.
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