menu
states_rebuilder package
documentation
scr/state_management/extensions/reactive_model_x.dart
ReactiveModelBool
toggle method
toggle method
dark_mode
light_mode
toggle
method
void
toggle
(
)
Toggle the state and notify listeners
Implementation
void toggle() { state = !state; }
states_rebuilder package
documentation
scr/state_management/extensions/reactive_model_x
ReactiveModelBool
toggle method
ReactiveModelBool extension on
ReactiveModel
<
bool
>