ValueNotifierExtension<T> extension

Extension on ValueNotifier to provide a read-only view.

on

Methods

map<R>(R mapper(T value)) ValueListenable<R>

Available on ValueNotifier<T>, provided by the ValueNotifierExtension extension

Maps the value of the ValueNotifier to a new value.
readOnly() ValueListenable<T>

Available on ValueNotifier<T>, provided by the ValueNotifierExtension extension

Returns a read-only view of the ValueNotifier.