Skip to content

Commit fa2f334

Browse files
maRci002nploi
authored andcommitted
add missing_enum_constant_in_switch (flutter#3435)
[video_player] add missing_enum_constant_in_switch
1 parent 2ba5f12 commit fa2f334

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

packages/video_player/video_player/lib/video_player.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -372,6 +372,7 @@ class VideoPlayerController extends ValueNotifier<VideoPlayerValue> {
372372
return;
373373
}
374374

375+
// ignore: missing_enum_constant_in_switch
375376
switch (event.eventType) {
376377
case VideoEventType.initialized:
377378
value = value.copyWith(

packages/video_player/video_player_android/example/lib/mini_controller.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,7 @@ class MiniController extends ValueNotifier<VideoPlayerValue> {
219219
final Completer<void> initializingCompleter = Completer<void>();
220220

221221
void eventListener(VideoEvent event) {
222+
// ignore: missing_enum_constant_in_switch
222223
switch (event.eventType) {
223224
case VideoEventType.initialized:
224225
value = value.copyWith(

packages/video_player/video_player_avfoundation/example/lib/mini_controller.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,7 @@ class MiniController extends ValueNotifier<VideoPlayerValue> {
219219
final Completer<void> initializingCompleter = Completer<void>();
220220

221221
void eventListener(VideoEvent event) {
222+
// ignore: missing_enum_constant_in_switch
222223
switch (event.eventType) {
223224
case VideoEventType.initialized:
224225
value = value.copyWith(

0 commit comments

Comments
 (0)