observable_collections library

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
SunnyObservableList<V>
Extension of ObservableList that supports syncing internal items from an external list. When dart 2.6 comes out, this can move to an extension function
SunnyObservableMap<K, V>
The normal ObservableMap class doesn't observe changes to the values bound to a key, eg "Let me know if contact 53 changes", so this class offers some additional connected observers that report changes to map keys
SunnyObservableMapList<K, L>
SunnyObservableMapMap<K1, K, V>
TrackedValue<T>
Allows a tracked value to be forcibly updated by using a timestamp

Functions

groupByKey<K, V>(Iterable<MapEntry<K, V>> input) Map<K, List<V>>
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)