mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 22:09:06 +00:00
Remove top safe area from demo screen for desktop layout (#210)
This commit is contained in:
@@ -477,9 +477,13 @@ class _DemoPageState extends State<DemoPage> with TickerProviderStateMixin {
|
||||
|
||||
// Add the splash page functionality for desktop.
|
||||
if (isDesktop) {
|
||||
page = SplashPage(
|
||||
page = MediaQuery.removePadding(
|
||||
removeTop: true,
|
||||
context: context,
|
||||
child: SplashPage(
|
||||
isAnimated: false,
|
||||
child: page,
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user