animated_bubble_navigation_bar 1.0.3 copy "animated_bubble_navigation_bar: ^1.0.3" to clipboard
animated_bubble_navigation_bar: ^1.0.3 copied to clipboard

A custom animated bottom navigation bar widget for Flutter apps.

🫧 Animated Bubble Navigation Bar #

A lightweight, customizable, and responsive bottom navigation bar for Flutter with smooth bubble animations.

Perfect for modern apps with stylish transitions, adaptive layouts, and full customization.


πŸ“Έ Preview #

Demo Preview
πŸ’‘ Default Bubble Animation default
🎨 Custom Icons & Labels custom
πŸ“± Responsive Across Devices responsive
πŸ” Seamless Tab Switching seamless
🧱 Square/Alternative Layouts square

✨ Features #

  • πŸ”Ή Clean, modern design
  • 🫧 Bubble-style animations
  • πŸ›  Fully customizable (icons, labels, colors, shape)
  • πŸ” Seamless tab switching
  • πŸ“± Responsive across devices (phones & tablets)
  • 🧩 Easy integration & minimal setup

πŸš€ Getting Started #

1️⃣ Add to pubspec.yaml #

dependencies:
  animated_bubble_navigation_bar: ^<latest_version>

2️⃣ Import the package #

import 'package:animated_bubble_navigation_bar/animated_bubble_navigation_bar.dart';

3️⃣ Basic Usage #

Scaffold(
  body: AnimatedBubbleNavBottomBar(
    screens: [
      Screen1(),
      Screen2(),
      Screen3(),
    ],
    menuItems: [
      BottomNavItem(label: "Home", icon: Icons.home),
      BottomNavItem(label: "Settings", icon: Icons.settings),
      BottomNavItem(label: "Profile", icon: Icons.person),
    ],
    bobbleDecoration: BubbleDecoration(), // Decoration
  ),
);

4️⃣ Styling Colors and Icons #

bubbleDecoration: BubbleDecoration(
  // Background color of the bar
  backgroundColor: Colors.deepPurple,

  // Bubble/Item colors
  selectedBubbleBackgroundColor: Colors.white,
  unSelectedBubbleBackgroundColor: Colors.grey.shade800,

  // Label colors
  selectedBubbleLabelColor: Colors.black,
  unSelectedBubbleLabelColor: Colors.white70,

  // Icon colors
  selectedBubbleIconColor: Colors.black,
  unSelectedBubbleIconColor: Colors.white,

  // Label style
  labelStyle: TextStyle(fontSize: 13, fontWeight: FontWeight.w600),

  // Icon size
  iconSize: 28,

),

5️⃣ Advance Layout and Behavior #

bubbleDecoration: BubbleDecoration(
  // Space between icon and label
  innerIconLabelSpacing: 6,

  // Size of bubble item container
  bubbleItemSize: 12,

  // Scrolling physics
  physics: BouncingScrollPhysics(),

  // Animation duration
  duration: Duration(milliseconds: 350),

  // Margin & padding
  margin: EdgeInsets.symmetric(horizontal: 6, vertical: 8),
  padding: EdgeInsets.symmetric(horizontal: 8, vertical: 10),

  // Animation curve
  curve: Curves.easeInOutBack,

  // Bubble position (e.g., bottomCenter, bottomLeft, bottomRight)
  bubbleAlignment: BubbleAlignment.bottomCenter,

  // Shape of bubble (circular or square)
  shapes: BubbleShape.square,

  // Optional radius for square bubbles
  squareBordersRadius: 12,
),

πŸ“˜ API Reference #

Property Type Description
screens List<Widget> Screens shown for each tab
menuItems List<BottomNavItem> Navigation items (icon + label)
bobbleDecoration BubbleDecoration (optional) Custom animation, colors, shapes, etc.

🧱 Customization #

  • Icon & label styles
  • Active/inactive colors
  • Bubble shapes (rounded, square)
  • Animation curve, duration, and more

πŸ›€ Coming Soon #

  • πŸ”” Badge support
  • 🧭 Top TabBar support
  • βž• FAB (Notched) support
  • πŸŒ€ More animation styles

πŸ§‘β€πŸ’» Developer #

Muhammad Ahmed Lashari LinkedIn | GitHub | πŸ“§ Email


🀝 Contributing #

We welcome contributions! To contribute:

  1. Fork the repo
  2. Create a new branch
  3. Make your changes with proper testing
  4. Open a PR with a clear description

For new features, open an issue first to discuss ideas before implementation.


⭐️ Support #

If you find this package helpful:

  • Leave a ⭐️ on GitHub
  • Share with the Flutter community
  • Submit feature requests or bug reports

Let’s build something beautiful β€” one bubble at a time! 🫧


8
likes
0
points
43
downloads

Publisher

unverified uploader

Weekly Downloads

A custom animated bottom navigation bar widget for Flutter apps.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on animated_bubble_navigation_bar