appState class App State Providers
Global state of App:
- Archive view or usual view of App?,
- show archive at which day?,
- or show all.
- Inheritance
-
- Object
- BuildlessNotifier<
AppState> - _$appState
- appState
- Annotations
-
- @Riverpod(keepAlive: true)
Constructors
- appState()
Properties
- hashCode → int
-
The hash code for this object.
read-onlyinherited
-
ref
→ NotifierProviderRef<
AppState> -
The Ref from the provider associated with this Notifier.
read-onlyinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- state ↔ AppState
-
The value currently exposed by this Notifier.
read / writeinherited-getter
- stateOrNull → AppState?
-
The value currently exposed by this Notifier.
read-onlyinherited
Methods
-
build(
) → AppState -
Initialize a Notifier.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
updateShouldNotify(
AppState previous, AppState next) → bool -
A method invoked when the state exposed by this Notifier changes.
It compares the previous and new value, and return whether listeners
should be notified.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited