ProviderFamily<StateT, ArgT> class final

The Family of Provider

Inheritance
Annotations
  • @publicInMisc

Properties

dependencies Iterable<ProviderOrFamily>?
The list of providers that this provider potentially depends on.
finalinherited
from Family
The family that this provider/family depends on.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
isAutoDispose bool
Whether the state associated to this provider should be disposed automatically when the provider stops being listened.
finalinherited
name String?
A custom label for providers.
finalinherited
retry → Retry?
The default retry logic used by providers associated to this container.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

call(ArgT argument) Provider<StateT>
Create a provider from an external value.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
overrideWith(StateT create(Ref ref, ArgT arg)) Override
Override the provider with a new initialization function.
inherited
toString() String
A string representation of this object.
inherited

Operators

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