From 2de3430a1a3a9a6a7e2adb5fd4edc0763322ea26 Mon Sep 17 00:00:00 2001 From: Lance Johnstone Date: Wed, 31 Jan 2024 23:23:37 +1300 Subject: [PATCH] Remove extra bracket --- example/lib/platform_page.dart.dart | 38 ++++++++++++++--------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/example/lib/platform_page.dart.dart b/example/lib/platform_page.dart.dart index 4ce3d06..e6fac6e 100644 --- a/example/lib/platform_page.dart.dart +++ b/example/lib/platform_page.dart.dart @@ -375,36 +375,36 @@ class PlatformPage extends StatelessWidget { ), ), ), - ), - // ! Platform Sliver AppBar - Padding( - padding: const EdgeInsets.all(8.0), - child: PlatformElevatedButton( - child: Text('Show Sliver AppBar Page'), - onPressed: () => Navigator.of(context).push( - platformPageRoute( - context: context, - builder: (context) => PlatformSliverAppBarPage(), - ), - ), - ), - ), - // ! Material on iOS - if (isCupertino(context)) - // ! Icons + + // ! Platform Sliver AppBar Padding( padding: const EdgeInsets.all(8.0), child: PlatformElevatedButton( - child: Text('Show Platform Icons'), + child: Text('Show Sliver AppBar Page'), onPressed: () => Navigator.of(context).push( platformPageRoute( context: context, - builder: (context) => IconsPage(), + builder: (context) => PlatformSliverAppBarPage(), ), ), ), ), // ! Material on iOS + if (isCupertino(context)) + // ! Icons + Padding( + padding: const EdgeInsets.all(8.0), + child: PlatformElevatedButton( + child: Text('Show Platform Icons'), + onPressed: () => Navigator.of(context).push( + platformPageRoute( + context: context, + builder: (context) => IconsPage(), + ), + ), + ), + ), + // ! Material on iOS if (isCupertino(context)) Padding( padding: const EdgeInsets.all(8.0),