Remove top safe area from demo screen for desktop layout (#210)

pull/211/head
rami-a 7 years ago committed by GitHub
parent 8b2688452a
commit c986d0a68a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -477,9 +477,13 @@ class _DemoPageState extends State<DemoPage> with TickerProviderStateMixin {
// Add the splash page functionality for desktop. // Add the splash page functionality for desktop.
if (isDesktop) { if (isDesktop) {
page = SplashPage( page = MediaQuery.removePadding(
isAnimated: false, removeTop: true,
child: page, context: context,
child: SplashPage(
isAnimated: false,
child: page,
),
); );
} }

Loading…
Cancel
Save