StateNotifierProviderFamily<Notifier extends StateNotifier<Value>, Value, Param> class

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

Inheritance
Available Extensions
Annotations
  • @sealed

Constructors

StateNotifierProviderFamily(Notifier create(ProviderReference ref, Param a), {String? name})
A class that allows building a StateNotifierProvider from an external parameter.

Properties

builder → Notifier Function(ProviderReference ref, Param param)
Implementation detail. Do not use.
finalinherited
debugKeys List<Param>?
A debug-only list of all the parameters passed to this family.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
name String?
Implementation detail. Do not use.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

call(Param value) StateNotifierProvider<Notifier, Value>
Create a provider from an external value.
inherited
create(Param value, Notifier builder(ProviderReference ref, Param param), String? name) StateNotifierProvider<Notifier, Value>
Creates the provider for a given parameter.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
overrideWithProvider(Notifier builderOverride(ProviderReference ref, Param param)) Override
Overrides the behavior of a family for a part of the application.
toString() String
A string representation of this object.
inherited

Operators

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