ValueChangeNotifierExtension<T> extension
Extension on ValueChangeNotifier to provide a read-only view and mapping.
- on
Methods
-
map<
R> (R mapper(T value)) → ValueListenable< R> - Maps the value of the ValueChangeNotifier to a new value.
-
readOnly(
) → ValueListenable< T> - Returns a read-only view of the ValueChangeNotifier.