Skip to content

Commit 7e82a4b

Browse files
author
Illia Romanenko
committed
remove warning for flutter 3
1 parent 1cb5070 commit 7e82a4b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

flutter_vlc_player/lib/src/vlc_app_life_cycle_observer.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class VlcAppLifeCycleObserver extends Object with WidgetsBindingObserver {
99
final VlcPlayerController _controller;
1010

1111
void initialize() {
12-
WidgetsBinding.instance!.addObserver(this);
12+
WidgetsBinding.instance.addObserver(this);
1313
}
1414

1515
@override
@@ -29,6 +29,6 @@ class VlcAppLifeCycleObserver extends Object with WidgetsBindingObserver {
2929
}
3030

3131
void dispose() {
32-
WidgetsBinding.instance!.removeObserver(this);
32+
WidgetsBinding.instance.removeObserver(this);
3333
}
3434
}

0 commit comments

Comments
 (0)