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
|
|
@ -34,13 +34,13 @@ class _NavigationSectionState extends State<NavigationSection> {
|
|||
icon: Icon(Icons.analytics_outlined),
|
||||
selectedIcon: Icon(Icons.analytics),
|
||||
label: 'Reports',
|
||||
smallBadge: true,
|
||||
badgeCount: 0,
|
||||
),
|
||||
NavigationRailM3EDestination(
|
||||
icon: Icon(Icons.settings_outlined),
|
||||
selectedIcon: Icon(Icons.settings),
|
||||
label: 'Settings',
|
||||
largeBadgeCount: 2,
|
||||
badgeCount: 2,
|
||||
),
|
||||
],
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue