Skip to content

Commit 7ec2d36

Browse files
authored
Add comment to developers about adding new system sound types (flutter#62552)
flutter#62143
1 parent 685590f commit 7ec2d36

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/flutter/lib/src/services/system_sound.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ enum SystemSoundType {
2222
/// web platform does not support playing any sounds, so this will be
2323
/// ignored on the web as well.
2424
alert,
25+
26+
// If you add new values here, you also need to update the `SoundType` Java
27+
// enum in `PlatformChannel.java`.
2528
}
2629

2730
/// Provides access to the library of short system specific sounds for common

0 commit comments

Comments
 (0)