Skip to content
pubscout

water_drop_nav_bar

2.2.2, released 2 years ago by waterydesert.com

A bottom navigation bar with a unique water drop effect marking the selected item.

WASM-ready
$ flutter pub add water_drop_nav_bar
Source repository

What it does

Provides a customized bottom navigation bar widget featuring an animated water drop effect when switching between 2 to 4 items. It handles active and inactive icon states, custom background colors, and bottom padding adjustments.

AI-written summary of version 2.2.2, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need a bottom navigation bar with 2 to 4 items
  • You want a custom animated water drop effect for selected navigation items

Skip it when

  • You need more than 4 navigation items
  • You require platform-native bottom navigation bars like CupertinoTabBar or BottomNavigationBar

Strengths

  • Unique and polished water drop animation effect
  • Easy to integrate into Scaffold as a bottomNavigationBar

Weaknesses

  • Limited to a minimum of 2 and maximum of 4 items
  • Fixed bar height due to vertical animation constraints

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
WaterDropNavBar(
  backgroundColor: Colors.white,
  onItemSelected: (index) {
    setState(() {
      selectedIndex = index;
    });
  },
  selectedIndex: selectedIndex,
  barItems: [
    BarItem(
      filledIcon: Icons.bookmark_rounded,
      outlinedIcon: Icons.bookmark_border_rounded,
    ),
    BarItem(
      filledIcon: Icons.favorite_rounded,
      outlinedIcon: Icons.favorite_border_rounded,
    ),
  ],
)

Alternatives

Packages that do the same job and could replace water_drop_nav_bar.