diff --git a/gallery/gallery/lib/pages/demo.dart b/gallery/gallery/lib/pages/demo.dart index 9d905dafb..52e364cc4 100644 --- a/gallery/gallery/lib/pages/demo.dart +++ b/gallery/gallery/lib/pages/demo.dart @@ -477,9 +477,13 @@ class _DemoPageState extends State with TickerProviderStateMixin { // Add the splash page functionality for desktop. if (isDesktop) { - page = SplashPage( - isAnimated: false, - child: page, + page = MediaQuery.removePadding( + removeTop: true, + context: context, + child: SplashPage( + isAnimated: false, + child: page, + ), ); }