voo_navigation_drawer 0.2.1
voo_navigation_drawer: ^0.2.1 copied to clipboard
Navigation drawer components for Flutter - part of the voo_navigation package ecosystem.
0.2.1 #
Improved #
- Tagline Layout: Updated
VooDrawerDefaultHeaderto display tagline below title- Title and tagline now render as two separate lines in a Column
- Both texts limited to single line with ellipsis overflow
- Title uses
titleMediumstyle with weight 600 - Tagline uses
bodySmallstyle with 60% opacity
Fixed #
- Header Height Alignment: Header height now uses
kToolbarHeight + spacing.smto align withVooAdaptiveAppBar
0.2.0 #
Added #
-
VooContextSwitcher Integration: Inline context/project switching within expandable sections
VooDrawerContextSwitcher- Drawer wrapper withforPosition()factory methodVooDrawerExpandableSectionnow renderssectionHeaderWidgetwith vertical line- Vertical line color can match selected context via
sectionHeaderLineColor - Seamlessly integrates with dynamic navigation items pattern
-
VooMultiSwitcher Integration: Unified organization and user switching in drawer footer
VooDrawerMultiSwitcher- Drawer wrapper withforPosition()factory method- Replaces separate org switcher and user profile with single animated component
- Slides up as overlay within drawer using Flutter's
Overlaysystem - Tap outside to dismiss modal
-
VooAdaptiveNavigationDrawer now renders
VooMultiSwitcherwhen configured- Backwards compatible - existing org switcher and user profile still work
- Set
multiSwitcherconfig andshowUserProfile: falseto use new component
Dependencies #
- Updated
voo_navigation_coreto ^0.2.0
0.1.4 #
Improved #
- Design System Tokens: All drawer components now use
VooNavigationTokensfor consistent stylingVooDrawerNavigationItem- Uses token-based icon sizes, padding, border radius, and opacity valuesVooDrawerFooterItem- Consistent styling with navigation itemsVooDrawerChildNavigationItem- Uses child-specific padding tokens
- Modernized Appearance: Updated border radius from 6dp to 8dp for modern look
- Unified Selection States: Selection and hover backgrounds now use theme-aware extension methods
Dependencies #
- Updated
voo_navigation_coreto ^0.1.4
0.1.3 #
Fixed #
- Logo Widget Support:
VooDrawerDefaultHeadernow supports customlogowidget fromVooHeaderConfig- Added
logoandlogoBackgroundColorparameters toVooDrawerDefaultHeader VooDrawerHeadernow passes logo properties fromheaderConfig- Logo widget now applies consistently to both rail and drawer navigation
- Added
0.1.1 #
Added #
- VooCollapseState Integration: Drawer now wraps content with VooCollapseState
- Enables child widgets to auto-detect collapse state
onToggleCollapsecallback parameter for external collapse control
- User Profile Auto-Handling: Uses
userProfileConfigwhen available- Automatically creates VooUserProfileFooter with correct compact state
Changed #
- Unified Theme: Removed legacy themed container variants
- Removed glassmorphism, liquidGlass, blurry, neomorphism, material3Enhanced containers
- Single clean flat container design for consistent appearance
- Simpler codebase with ~500 lines removed
Fixed #
- Vertical Line Alignment: Fixed expandable section indicator lines
- Lines now horizontally align with parent section icon center (17px from left)
- Added connector line that extends from section icon down to children
- Uses
clipBehavior: Clip.noneto allow line to extend into header area
0.1.0 #
Added #
- Initial release - extracted from voo_navigation package
- VooAdaptiveNavigationDrawer: Main navigation drawer organism
- Supports expandable sections
- User profile footer integration
- Custom header and footer widgets
- Themed styling support
- DrawerNavigationItem: Individual drawer navigation item
- DrawerNavigationItems: Container for drawer navigation items
- DrawerChildNavigationItem: Child item for expandable sections
- DrawerExpandableSection: Expandable section with children
- DrawerDefaultHeader: Default header component for drawer
- DrawerModernBadge: Badge component specific to drawer styling