JournalArchiveSize class Journal Providers UI Settings
Provider of setting - max amount of entries stored in Journal.
Read/save from/to SharedPreferences, had default preinitialized value.
Depend on locator
- Inheritance
-
- Object
- BuildlessAutoDisposeNotifier<
int> - _$JournalArchiveSize
- JournalArchiveSize
- Annotations
Constructors
Properties
- hashCode → int
-
The hash code for this object.
read-onlyinherited
-
ref
→ AutoDisposeNotifierProviderRef<
int> -
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 ↔ int
-
The value currently exposed by this Notifier.
read / writeinherited-getter
- stateOrNull → int?
-
The value currently exposed by this Notifier.
read-onlyinherited
Methods
-
build(
) → int -
Initialize an AsyncNotifier.
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(
int previous, int 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