fancy_collection 0.1.0
fancy_collection: ^0.1.0 copied to clipboard
Observable List and Map implementations for Flutter that notify listeners about added, updated and removed entries, including changes in nested collections.
0.1.0 #
Initial public release.
FancyListandFancyMap: observableListandMapimplementations. Every mutating operation emits exactly one event per affected entry; bulk list changes (removeWhere,clear,sort, ...) emit a single[*]event.- Path-based listeners (
addListener) with*and[*]wildcards, backslash escaping for arbitrary keys, and per-event-type filtering. Malformed paths throw anArgumentError. getValueNotifierfor use withValueListenableBuilder.- Nested maps and lists — in both
FancyMapandFancyList— bubble their events up to the root, with paths relative to the listening collection. Removed or replaced children are detached from their parent. - Typed collections such as
FancyMap<String, Map<String, dynamic>>andFancyList<List<int>>are supported; values that cannot be made observable for the declared type are stored unchanged.