ChangeNotifierProviderFamily<Notifier extends ChangeNotifier, Arg> class Null safety

A class that allows building a ChangeNotifierProvider from an external parameter.

Inheritance
Annotations

Constructors

ChangeNotifierProviderFamily(FamilyCreate<Notifier, ChangeNotifierProviderRef<Notifier>, Arg> _create, {String? name, List<ProviderOrFamily>? dependencies})
A class that allows building a ChangeNotifierProvider from an external parameter.

Properties

dependencies List<ProviderOrFamily>?
The list of providers that this provider potentially depends on. [...]
final, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
name String?
The family name.
@protected, final, inherited
overriddenFamily Family<Object?, Arg, ProviderBase<Object?>>
The family that was overridden.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

call(Arg argument) ChangeNotifierProvider<Notifier>
Create a provider from an external value. [...]
inherited
create(Arg argument) ChangeNotifierProvider<Notifier>
Creates the provider for a given parameter.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
registerProvider(ProviderBase provider, Arg argument) → void
Register a provider as part of this family.
@protected, inherited
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