forked from mirrors/material_3_expressive
Refactor NavigationRailM3E to simplify rail types; update badge handling and expand functionality of navigation components.
This commit is contained in:
parent
83f5a02943
commit
5b27a91894
20 changed files with 360 additions and 486 deletions
|
|
@ -29,13 +29,13 @@ class _DemoAppState extends State<DemoApp> {
|
|||
icon: Icon(Icons.star_outline),
|
||||
selectedIcon: Icon(Icons.star),
|
||||
label: 'Starred',
|
||||
smallBadge: true,
|
||||
badgeCount: 0,
|
||||
),
|
||||
NavigationRailM3EDestination(
|
||||
icon: Icon(Icons.inbox_outlined),
|
||||
selectedIcon: Icon(Icons.inbox),
|
||||
label: 'Inbox',
|
||||
largeBadgeCount: 3,
|
||||
badgeCount: 3,
|
||||
),
|
||||
],
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue