SoundsController class

A simple sound controller class for managing app sounds

Constructors

SoundsController()
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
isSoundEnabled bool
Get whether sound is enabled
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
playError() Future<void>
Play error sound
playNotification() Future<void>
Play notification sound
playSound(String soundName) Future<void>
Play a sound (placeholder - implement with actual sound package)
playSuccess() Future<void>
Play success sound
setSoundEnabled(bool enabled) → void
Enable or disable sound
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited