ChangeNotifierProviderFamily<T extends ChangeNotifier, A> class
A class that allows building a ChangeNotifierProvider from an external parameter.
- Inheritance
-
- Object
- Family<
T, T, A, ProviderReference, ChangeNotifierProvider< T> > - ChangeNotifierProviderFamily
- Available Extensions
- Annotations
-
- @sealed
Constructors
- ChangeNotifierProviderFamily(T create(ProviderReference ref, A a), {String? name})
- A class that allows building a ChangeNotifierProvider from an external parameter.
Properties
Methods
-
call(
A value) → ChangeNotifierProvider< T> -
Create a provider from an external value.
inherited
-
create(
A value, T builder(ProviderReference ref, A param), String? name) → ChangeNotifierProvider< T> -
Creates the provider for a given parameter.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited