ValueNotifierExtension<T> extension

Provides convenience methods to simplify state management.

on

Methods

getter() → T

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

Returns the current value.
setter(T newValue) → void

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

Updates the notifier with the given value.