collection_change_notifier library

Integrated ChangeNotifier features into List, Set, Map and fews built-in Iterable subclasses.

It trigger ChangeNotifier.notifyListeners after changing items of the collections' elements or perform CollectionChangeNotifierMixin.modify.

This package provides a convinence method to implements Dart collections into InheritedWidget with binding element changes. Thus, it can be implemented with provider package perfectly.

Classes

DoubleLinkedQueueChangeNotifier<E>
Implemented QueueChangeNotifier baased on DoubleLinkedQueue.
HashMapChangeNotifier<K, V>
HashMap based implementation of MapChangeNotifier.
HashSetChangeNotifier<E>
HashSet based SetChangeNotifier implementation.
LinkedHashMapChangeNotifier<K, V>
A LinkedHashMap based implementation of MapChangeNotifier.
LinkedHashSetChangeNotifier<E>
LinkedHashSet based SetChangeNotifier implementation.
LinkedListChangeNotifier<E extends LinkedListEntry<E>>
Implemented ChangeNotifier features in LinkedList.
ListChangeNotifier<E>
Implemented ChangeNotifier feature into List.
ListQueueChangeNotifier<E>
List based QueueChangeNotifier that provides feature of ListQueue with ChangeNotifier integration.
MapChangeNotifier<K, V>
A Map that implemented with ChangeNotifier features.
QueueChangeNotifier<E>
Added ChangeNotifier implementation in Queue.
SetChangeNotifier<E>
An implementation of CollectionChangeNotifierMixin that based on Set.
SplayTreeMapChangeNotifier<K, V>
SplayTreeMap based MapChangeNotifier implementation.
SplayTreeSetChangeNotifier<E>
SplayTreeSet based SetChangeNotifier implementation.

Mixins

CollectionChangeNotifierMixin<I, IDX, T>
Totally basic mixin that define implemented collection is binded with ChangeNotifier.