presentation/widgets/common/sound_toggle_fab library
Classes
- SoundToggleFab
-
Small floating round button toggling AudioManager's mute state —
speaker icon flips on/off, tap calls
toggleMute(). Uses AudioManager.maybe (the null-safe accessor): renders nothing if audio hasn't been registered instead of throwing, so a gameplay screen can drop this in unconditionally.