Skip to content

Commit

Permalink
Update example
Browse files Browse the repository at this point in the history
  • Loading branch information
Feichtmeier committed Aug 30, 2022
1 parent 7110284 commit 8055291
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion example/lib/pages/tabbed_page_page.dart
Expand Up @@ -22,7 +22,27 @@ class _TabbedPagePageState extends State<TabbedPagePage> {
initialIndex: _initialIndex,
views: [
YaruPage(
children: [RowList()],
children: [
GridView(
shrinkWrap: true,
gridDelegate: SliverGridDelegateWithMaxCrossAxisExtent(
mainAxisExtent: 110,
mainAxisSpacing: 15,
crossAxisSpacing: 15,
maxCrossAxisExtent: 550,
),
children: [
for (int i = 0; i < 20; i++)
YaruBanner(
name: 'YaruBanner $i',
summary: 'Description',
fallbackIconData: YaruIcons.ubuntu_logo_large,
icon: Image.asset('assets/ubuntuhero.jpg'),
onTap: () => showAboutDialog(context: context),
)
],
)
],
),
YaruPage(children: [
YaruSection(
Expand Down

0 comments on commit 8055291

Please sign in to comment.