ValueNotifierBoolExtension extension
Provides convenience methods to simplify boolean state management.
- on
Methods
-
run(
AsyncCallback callback) → Future< void> -
Available on ValueNotifier<
Sets the value to true while the callback runs and resets it to false afterward.bool> , provided by the ValueNotifierBoolExtension extension -
toggle(
) → void -
Available on ValueNotifier<
Reverses the current boolean value.bool> , provided by the ValueNotifierBoolExtension extension