ValueNotifierBoolExtension extension

Provides convenience methods to simplify boolean state management.

on

Methods

run(AsyncCallback callback) → Future<void>

Available on ValueNotifier<bool>, provided by the ValueNotifierBoolExtension extension

Sets the value to true while the callback runs and resets it to false afterward.
toggle() → void

Available on ValueNotifier<bool>, provided by the ValueNotifierBoolExtension extension

Reverses the current boolean value.