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
Extensions
-
MapDiffsExt
on MapDiffs<
K?, V> -
SunnyObservableMapExtension
on SunnyObservableMap<
K, V> -
SunnyObservableMapExtensions
on SunnyObservableMap<
K, V> -
ValueStreamFutureIterableExtensions
on ValueStream<
Future< Iterable< >X> > -
ValueStreamFutureMapListExtensions
on ValueStream<
Future< Map< >K, List< >L> > -
ValueStreamIterable_ObservableExtension
on ValueStream<
Iterable< X> > -
ValueStreamMapListExtensions
on ValueStream<
Map< K, List< >L> > -
ValueStreamOfMapExtensions
on ValueStream<
Map< K, V> >
Functions
-
groupByKey<
K, V> (Iterable< MapEntry< input) → Map<K, V> >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)