From c986d0a68a545b2fd9b49020a6a7299ef0532a1a Mon Sep 17 00:00:00 2001 From: rami-a <2364772+rami-a@users.noreply.github.com> Date: Tue, 7 Jan 2020 15:33:35 -0500 Subject: [PATCH] Remove top safe area from demo screen for desktop layout (#210) --- gallery/gallery/lib/pages/demo.dart | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) 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, + ), ); }