SystemSoundType enum Null safety

A sound provided by the system.

These sounds may be played with


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.

const SystemSoundType(1)
click → const SystemSoundType

A short indication that a button was pressed.

const SystemSoundType(0)
values → const List<SystemSoundType>

A constant List of the values in this enum, in order of their declaration.

const List<SystemSoundType>


hashCode int
The hash code for this object. [...]
read-only, inherited
index int

The integer index of this enum.

runtimeType Type
A representation of the runtime type of the object.
read-only, inherited


noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
toString() String
A string representation of this object. [...]


operator ==(Object other) bool
The equality operator. [...]