ReduxProvider<N extends BaseReduxNotifier<T> , T> class
Holds a ReduxNotifier
- Available extensions
Constructors
- ReduxProvider(N builder(Ref ref), {String? debugLabel})
Properties
- customDebugLabel → String?
-
finalinherited
- debugLabel → String
-
A label to be used in debug messages and
by the RiverpieTracingPage.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
provider
→ BaseProvider<
N, T> -
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
compareIdentity(
LabeledReference other) → bool -
Compares the identity of two LabeledReferences.
inherited
-
getSelectedState(
N notifier, T state) → T -
The default behavior to return the whole state when
using
ref.watch(provider).inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
overrideWithInitialState(
{N notifier(Ref ref)?, required T? initialState}) → ProviderOverride< N, T> -
Available on ReduxProvider<
Overrides the initial state with the givenN, T> , provided by the ReduxNotifierOverrideExt extensioninitialState. -
overrideWithNotifier(
N builder(Ref ref)) → ProviderOverride< N, T> -
overrideWithReducer(
{N notifier(Ref ref)?, T? initialState, required Map< Type, MockReducer< overrides}) → ProviderOverride<T> ?>N, T> -
Available on ReduxProvider<
Overrides the reducer with the givenN, T> , provided by the ReduxNotifierOverrideExt extensionoverrides. -
select<
R> (R selector(T state)) → SelectedWatchable< N, T, R> -
Used for ref.watch(provider.select(...)).
Select a part of the state.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited