change_notifier library

Classes

ChangeNotifier
A class that can be extended or mixed in that provides a change notification API using VoidCallback for notifications.
ChangeRecord
Result of a change to an observed object.
ChangeRecords<RecordType extends ChangeRecord>
Represents a list of change records.
ChangeStreamNotifier
Differ<E>
Generic comparisons between two comparable objects.
EqualityDiffer<E>
Uses Equality to determine a simple ChangeRecord.ANY response.
ListChangeRecord<E>
A ChangeRecord that denotes adding or removing nodes at index.
ListDiffer<E>
Determines differences between two lists, returning ListChangeRecords.
Listenable
An object that maintains a list of listeners.
ListenableIterable<T>
MapChangeRecord<K, V>
A ChangeRecord that denotes adding, removing, or updating a map.
MapDiffer<K, V>
Determines differences between two maps, returning MapChangeRecords.
Observable<C extends ChangeRecord>
Represents an object with observable state or properties.
ObservableList<E>
Represents an observable list of model values. If any items are added, removed, or replaced, then observers that are listening to changes will be notified.
ObservableMap<K, V>
Represents an observable map of model values. If any items are added, removed, or replaced, then observers that are listening to changes will be notified.
PropertyChangeRecord<T, K>
A change record to a field of a generic observable object.
ValueListenable<T>
An interface for subclasses of Listenable that expose a value.
ValueNotifier<T>
A ChangeNotifier that holds a single value.

Mixins

AsyncChangeNotifier<C extends ChangeRecord>
Supplies changes and various hooks to implement Observable.
PropertyChangeNotifier<K extends Object>
Supplies property changes and various hooks to implement Observable.

Typedefs

VoidCallback = void Function()