single_value library Null safety

Classes

ProgressTracker
ProgressTrackerBase
SingleValue<T>
Simple observable mobx boxed value that can be updated. This class provides a simpler way to update, instead of having to wrap mutations in runInAction, eg [...]
SingleValueBase<T>
StateCounter
TrackedValue<T>
Allows a tracked value to be forcibly updated by using a timestamp

Functions

syncToSingleValue<T>(SingleValue<T> singleValue, ValueNotifier<T?> notifier) ReactionDisposer
syncToValueNotifier<T>(ValueNotifier<T> notifier, SingleValue<T> singleValue) ListenerDisposer

Typedefs

ListenerDisposer = void Function()
Mutator<T> = T Function(T input)