diff --git a/example/lib/auto_rotate.dart b/example/lib/auto_rotate.dart index 108db9fbf..f6fefa84c 100644 --- a/example/lib/auto_rotate.dart +++ b/example/lib/auto_rotate.dart @@ -53,7 +53,7 @@ class _ChewieDemoState extends State { builder: (BuildContext context, Widget child) { return VideoScaffold( child: Scaffold( - resizeToAvoidBottomPadding: false, + resizeToAvoidBottomInset: false, body: Container( alignment: Alignment.center, color: Colors.black, diff --git a/lib/src/chewie_player.dart b/lib/src/chewie_player.dart index 6c9920351..60e37f435 100644 --- a/lib/src/chewie_player.dart +++ b/lib/src/chewie_player.dart @@ -82,7 +82,7 @@ class ChewieState extends State { _ChewieControllerProvider controllerProvider, ) { return Scaffold( - resizeToAvoidBottomPadding: false, + resizeToAvoidBottomInset: false, body: Container( alignment: Alignment.center, color: Colors.black,