Skip to content

Commit

Permalink
chore: update example with the new paned style (#778)
Browse files Browse the repository at this point in the history
  • Loading branch information
Feichtmeier committed Sep 19, 2023
1 parent 51bf33d commit 8f9aa7a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions example/lib/example.dart
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ class _MasterDetailPage extends StatelessWidget {
),
pageBuilder: (context, index) => YaruDetailPage(
appBar: YaruWindowTitleBar(
backgroundColor: Colors.transparent,
border: BorderSide.none,
leading:
Navigator.of(context).canPop() ? const YaruBackButton() : null,
title: buildTitle(context, pageItems[index]),
Expand All @@ -78,6 +80,8 @@ class _MasterDetailPage extends StatelessWidget {
),
appBar: const YaruWindowTitleBar(
title: Text('Yaru Widgets'),
backgroundColor: Colors.transparent,
border: BorderSide.none,
),
bottomBar: Padding(
padding: const EdgeInsets.symmetric(vertical: 8.0),
Expand Down

0 comments on commit 8f9aa7a

Please sign in to comment.