collections library
Reactive collections only
Classes
- CustomChangeNotifier
-
CustomValueNotifier<
T> -
Sometimes you want a ValueNotifier where you can control when its
listeners are notified. With the
CustomValueNotifieryou can do this: If you pass CustomNotifierMode.always for the mode parameter,notifierListenerswill be called everytime you assign a value to the value property independent of if the value is different from the previous one. If you pass CustomNotifierMode.manual for the mode parameter,notifierListenerswill not be called when you assign a value to the value property. You have to call it manually to notify the Listeners. Aditionally it has a listenerCount property that tells you how many listeners are currently listening to the notifier. -
ListNotifier<
T> -
A List that behaves like
ValueNotifierif its data changes. -
MapNotifier<
K, V> -
A Map that behaves like
ValueNotifierif its data changes. -
SetNotifier<
T> -
A Set that behaves like
ValueNotifierif its data changes.