voo_navigation_bar 0.1.10
voo_navigation_bar: ^0.1.10 copied to clipboard
Bottom navigation bar components for Flutter - part of the voo_navigation package ecosystem.
0.1.10 #
Fixed #
- VooUserProfileNavItem: Fixed expand/collapse animation not triggering when tapped without a modal builder
- Added
onNavigationSelectedcallback parameter to notify the navigation bar of selection changes VooNavigationBarnow passes this callback to update the selection state, enabling proper expand animation
- Added
0.1.9 #
Fixed #
- ExpandableNavModalMixin: Changed mixin constraint from
SingleTickerProviderStateMixintoTickerProviderStateMixinto support states that need multiple animation controllers - VooUserProfileNavItem: Fixed "multiple tickers created" assertion error when using expand/collapse animation alongside modal animation
- VooContextSwitcherExpandableNavItem: Updated to use
TickerProviderStateMixin - VooCombinedSwitcherNavItem: Updated to use
TickerProviderStateMixin - VooMultiSwitcherExpandableNavItem: Updated to use
TickerProviderStateMixin
0.1.8 #
Improved #
- VooExpandableNavItem: Enhanced expand/collapse animations and layout
- Labels now expand to the right by default (unless action item is present)
- Synced collapse animation with expand animation for smoother transitions
- Collapse uses
easeInCubiccurve to free up space quickly as new item expands - Label opacity fades out faster during collapse (first 50% of animation)
- Consistent 6dp padding around icon circle on all sides (top, left, bottom, right)
- Added
maxLabelWidthparameter for dynamic label width limits
- VooUserProfileNavItem: Matching expand animation improvements
- Same synced animation curves as VooExpandableNavItem
- Consistent padding and spacing with other nav items
- Added
maxLabelWidthparameter
- VooNavigationBar: Overflow prevention and dynamic sizing
- Uses
FittedBoxwithscaleDownto prevent overflow on narrow screens - Dynamically calculates
maxLabelWidthbased on available space and item count - Proper label position logic: right (end) by default, left (start) after action item
- Uses
Dependencies #
- Updated
voo_navigation_coreto ^0.2.12
0.1.7 #
Fixed #
- Bottom Navigation Bar Padding: Reduced default bottom margin from 24px to 8px
- Bottom navigation bar now sits closer to the bottom on devices with home indicator
- Total bottom spacing = 8px margin + safe area inset (~42px total on iPhone)
- Modal positioning updated to match new margin
Added #
- VooUserProfileNavItem: User profile avatar in bottom navigation
- Displays user avatar image, or initials if no image provided
- Opens custom modal when
modalBuilderis configured inVooUserProfileConfig - Falls back to
onTapcallback when no modal builder provided - Integrates with
VooNavigationBarautomatically whenmobilePriorityis enabled
Dependencies #
- Updated
voo_navigation_coreto ^0.2.11
0.1.6 #
Changed #
- VooNavigationBar: Now uses expandable pill-shaped design as the default
- Pill-shaped dark container with subtle border
- Selected item expands to show colored circle icon + label
- Unselected items display as dark circles with muted icons
- Supports optional action item with custom modal (e.g., + button)
- Context Switcher & Multi-Switcher: Now use consistent expandable nav design
VooContextSwitcherExpandableNavItem- Context switcher as dark circle with overlay modalVooMultiSwitcherExpandableNavItem- Org/user switcher as dark circle with stacked avatars and overlay modal- Both use the same modal design as the action item (consistent UI/UX)
- Combined Switcher: When both context switcher and multi-switcher are present, they automatically combine into a single
VooCombinedSwitcherNavItem- Triple-stacked avatar icon showing context, organization, and user
- Unified modal for switching all three in one place
- Reduces nav bar clutter by consolidating into one item
- Consolidated Components: Merged multiple navigation bar variants into single
VooNavigationBar- Removed
VooExpandableBottomNavigation- useVooNavigationBarinstead - Removed
VooAdaptiveBottomNavigation- useVooNavigationBarinstead - Removed
VooCustomNavigationBar- useVooNavigationBarinstead
- Removed
- VooNavigationItem: Renamed from
VooCustomNavigationItemfor consistency
Added #
VooCombinedSwitcherNavItem- Combined context + org/profile switcher for when both are presentVooExpandableNavModal- Shared modal component for expandable nav itemsExpandableNavModalMixin- Mixin for nav items that show overlay modals
Dependencies #
- Updated
voo_navigation_coreto ^0.2.10
0.1.5 #
Improved #
- VooExpandableBottomNavigation: Navigation bar now sizes to fit its contents
- Removed forced full-width layout, bar expands/contracts based on items
- Fixed 12px spacing between items for consistent layout
- VooExpandableNavItem: Improved spacing and animation
- Cleaner spacing: 4px circle padding, 12px icon-to-text gap, 16px text padding
- Smoother row-based animation that expands from icon position
- Fixed overflow issues during animation
Dependencies #
- Updated
voo_navigation_coreto ^0.2.9
0.1.4 #
Added #
- VooMultiSwitcherNavItem Integration: Bottom navigation bars now support multi-switcher nav items
VooFloatingBottomNavigationrendersVooMultiSwitcherNavItemfor_multi_switcher_navitemsVooCustomNavigationBarrendersVooMultiSwitcherNavItemfor_multi_switcher_navitems- Stacked avatars display (org + user) with floating style
Dependencies #
- Updated
voo_navigation_coreto ^0.2.3
0.1.3 #
0.1.2 #
Fixed #
- Floating Bottom Navigation Theme: Fixed hardcoded
Colors.blackbackground- Now uses
context.floatingNavBackground(surfaceContainerHighest) from theme - Properly adapts to light and dark mode
- Now uses
- Floating Nav Item Colors: Fixed hardcoded
Colors.whiteicons- Selected: Uses
theme.colorScheme.primary - Unselected: Uses
theme.colorScheme.onSurfacewith 50% opacity - Proper theme awareness for light/dark mode support
- Selected: Uses
Improved #
- Design System Tokens: Bottom navigation components now use
VooNavigationTokensVooCustomNavigationItem- Simplified selection state to match drawer/rail (removed heavy border and shadow)VooFloatingNavItem- Uses standardized icon sizes
- Modernized Appearance: Updated border radius to 8dp for consistency
Dependencies #
- Updated
voo_navigation_coreto ^0.1.4
0.1.1 #
Fixed #
- Updated to be compatible with
voo_navigation_core0.1.1 simplified theme API - Removed dependency on deprecated theme properties (
VooNavigationBarType,VooNavigationPreset,containerBorderRadius,preset,blurSigma,surfaceOpacity, etc.)
0.1.0 #
Added #
- Initial release - extracted from voo_navigation package
- VooAdaptiveBottomNavigation: Main bottom navigation organism
- Supports Material 2, Material 3, and custom styles
- Adaptive badge display
- Floating mode support
- VooFloatingBottomNavigation: Modern floating bottom navigation bar
- VooMaterial3NavigationBar: Material 3 compliant navigation bar
- VooMaterial2BottomNavigation: Material 2 style bottom navigation
- VooCustomNavigationBar: Custom styled navigation bar
- VooCustomNavigationItem: Custom navigation item component
- VooNavigationDropdown: Dropdown component for expandable items