ValueNotifierExtension<T> extension
Provides convenience methods to simplify state management.
- on
Properties
- hasNoValue → bool
-
Available on ValueNotifier<
Returns true if the current value is null.T> , provided by the ValueNotifierExtension extensionno setter - hasValue → bool
-
Available on ValueNotifier<
Returns true if the current value is not null.T> , provided by the ValueNotifierExtension extensionno setter
Methods
-
getter(
) → T -
Available on ValueNotifier<
Returns the current value.T> , provided by the ValueNotifierExtension extension -
setter(
T newValue) → void -
Available on ValueNotifier<
Updates the notifier with the given value.T> , provided by the ValueNotifierExtension extension