bottom_navigator 0.0.1 copy "bottom_navigator: ^0.0.1" to clipboard
bottom_navigator: ^0.0.1 copied to clipboard

A premium, glassmorphic bottom navigation bar for Flutter with multiple variants (Floating, Docked, Notched), fluid animations, and automatic item overflow management.

Bottom Navigator #

pub package License: MIT

A premium, glassmorphic bottom navigation bar for Flutter. Elevate your app's UI with fluid animations, multiple layout variants, and automatic overflow management.

[Bottom Navigator Banner]

✨ Features #

  • 🧊 Glassmorphism: Built-in frosted glass effect with customizable blur and opacity.
  • 📐 Multiple Variants: Choose between Floating, Docked, Notched, and Classic layouts.
  • Auto-More: Automatically handles item overflow by grouping extra items into a premium "More" menu.
  • 🎨 Indicator Styles: Support for various selection indicators: Pill, Dot, Line, and Square.
  • 📜 Scroll Aware: Built-in support for hiding the navigation bar on scroll to maximize screen real estate.
  • 🎬 Fluid Animations: Smooth transitions and physics-based animations for a premium feel.
  • 🛠️ Highly Customizable: Fine-tune colors, icons, labels, animation curves, and more.

🚀 Getting Started #

Add the dependency to your pubspec.yaml:

dependencies:
  bottom_navigator: ^0.0.1

🛠️ Usage #

Classic Bottom Bar #

ClassicNavBottomBar(
  items: [
    BottomNavItem(icon: Icons.home, label: 'Home'),
    BottomNavItem(icon: Icons.search, label: 'Search'),
    BottomNavItem(icon: Icons.favorite, label: 'Likes'),
    BottomNavItem(icon: Icons.person, label: 'Profile'),
  ],
  currentIndex: _selectedIndex,
  onTap: (index) => setState(() => _selectedIndex = index),
)

Floating Glass Bar #

FloatingNavBottomBar(
  items: navItems,
  currentIndex: _selectedIndex,
  centerButton: FloatingActionButton(
    onPressed: () {},
    child: Icon(Icons.add),
  ),
  onTap: (index) => setState(() => _selectedIndex = index),
)

🎨 Customization #

Indicator Styles #

You can customize the selection indicator using the IndicatorStyle enum:

  • IndicatorStyle.pill
  • IndicatorStyle.dot
  • IndicatorStyle.line
  • IndicatorStyle.square

Handling Scroll #

To hide the bar when scrolling, simply provide your ScrollController:

ClassicNavBottomBar(
  // ... other properties
  hideOnScroll: true,
  scrollController: _myScrollController,
)

📝 Additional Information #

Contributing #

Contributions are welcome! Please feel free to submit a Pull Request.

Issues #

If you encounter any bugs or have feature requests, please file them on the issue tracker.

License #

This project is licensed under the MIT License - see the LICENSE file for details.

5
likes
0
points
319
downloads

Publisher

verified publisherhandeaktan.com.tr

Weekly Downloads

A premium, glassmorphic bottom navigation bar for Flutter with multiple variants (Floating, Docked, Notched), fluid animations, and automatic item overflow management.

Repository (GitHub)
View/report issues

Topics

#navigation #bottom-bar #glassmorphism #ui #animation

License

unknown (license)

Dependencies

flutter

More

Packages that depend on bottom_navigator