Skip to content

Commit

Permalink
Remove extra bracket
Browse files Browse the repository at this point in the history
  • Loading branch information
Lance Johnstone authored and Lance Johnstone committed Jan 31, 2024
1 parent c369bf6 commit 2de3430
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions example/lib/platform_page.dart.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 2de3430

Please sign in to comment.