SystemSoundType enum Null safety
A sound provided by the system.
These sounds may be played with SystemSound.play.
- click → const SystemSoundType
A short indication that a button was pressed.
- alert → const SystemSoundType
A short system alert sound indicating the need for user attention.
Desktop platforms are the only platforms that support a system alert sound, so on mobile platforms (Android, iOS), this will be ignored. The web platform does not support playing any sounds, so this will be ignored on the web as well.