Skip to content

Commit

Permalink
chore(example): add a full color icons page for designers (#877)
Browse files Browse the repository at this point in the history
* chore(example): add full color icon page

* add all icons
  • Loading branch information
Feichtmeier committed Mar 8, 2024
1 parent 4f2d418 commit dbe4488
Show file tree
Hide file tree
Showing 3 changed files with 566 additions and 0 deletions.
11 changes: 11 additions & 0 deletions example/lib/example_page_items.dart
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import 'pages/dialog_page.dart';
import 'pages/draggable_page.dart';
import 'pages/expandable_page.dart';
import 'pages/expansion_panel_page.dart';
import 'pages/full_color_icons_page.dart';
import 'pages/icon_button_page.dart';
import 'pages/icons_page/icons_page.dart';
import 'pages/navigation_page.dart';
Expand Down Expand Up @@ -312,6 +313,16 @@ final examplePageItems = <PageItem>[
? const Icon(YaruIcons.placeholder_icon_filled)
: const Icon(YaruIcons.placeholder_icon),
),
PageItem(
title: 'YaruIcons, FullColor',
titleBuilder: (context) => const Text('Full Color Free Desktop Yaru Icons'),
pageBuilder: (context) {
return const FullColorIconsPage();
},
iconBuilder: (context, selected) => selected
? const Icon(YaruIcons.ubuntu_logo_simple)
: const Icon(YaruIcons.ubuntu_logo_simple),
),
PageItem(
title: 'YaruTheme',
pageBuilder: (context) {
Expand Down

0 comments on commit dbe4488

Please sign in to comment.