menu
flame package
documentation
components.dart
ToggleButtonComponent
onTapUp method
onTapUp method
dark_mode
light_mode
onTapUp
method
@
override
void
onTapUp
(
TapUpEvent
event
)
override
Implementation
@override void onTapUp(TapUpEvent event) { isSelected = !_isSelected; super.onTapUp(event); }
flame package
documentation
components
ToggleButtonComponent
onTapUp method
ToggleButtonComponent class