`game_template` fix up exhaustive checks (#1853)

## Pre-launch Checklist

- [x] I read the [Flutter Style Guide] _recently_, and have followed its
advice.
- [x] I signed the [CLA].
- [x] I read the [Contributors Guide].
- [x] I updated/added relevant documentation (doc comments with `///`).
- [ ] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-devrel
channel on [Discord].

<!-- Links -->
[Flutter Style Guide]:
https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo
[CLA]: https://cla.developers.google.com/
[Discord]: https://github.com/flutter/flutter/wiki/Chat
[Contributors Guide]:
https://github.com/flutter/samples/blob/main/CONTRIBUTING.md
pull/1858/head
Brett Morgan 2 years ago committed by GitHub
parent 6c31477626
commit a33e0f9720
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -220,6 +220,8 @@ class AudioController {
"Music should never be 'completed' as it's either not playing "
"or looping forever.");
await _playFirstSongInPlaylist();
default:
_log.warning('Unhandled PlayerState: ${_musicPlayer.state}');
}
}

@ -43,8 +43,7 @@ declare -ar PROJECT_NAMES=(
"experimental/web_dashboard"
"flutter_maps_firestore"
"form_app"
# TODO(DomesticMouse): The type 'AppLifecycleState' is not exhaustively matched by the switch cases since it doesn't match 'AppLifecycleState.hidden'.
# "game_template"
"game_template"
"google_maps"
"infinite_list"
"ios_app_clip"

Loading…
Cancel
Save