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

pull/211/head
rami-a 6 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.
if (isDesktop) {
page = SplashPage(
isAnimated: false,
child: page,
page = MediaQuery.removePadding(
removeTop: true,
context: context,
child: SplashPage(
isAnimated: false,
child: page,
),
);
}

Loading…
Cancel
Save