Skip to content
pubscout

bottom_bar

2.0.5, released a year ago by hanstan.link

An optimized bottom navigation bar widget with customizable animations and styling.

WASM-ready
$ flutter pub add bottom_bar
Source repository

What it does

Bottom bar helps create an optimized bottom navigation bar with beautiful animations and items. It provides a `BottomBar` widget and `BottomBarItem` objects to manage selection states and custom active/inactive colors, icons, and titles.

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

Use it when

  • You need a custom animated bottom navigation bar in your application.
  • You want individual control over item colors, active backgrounds, and layout alignment.

Skip it when

  • You require the standard platform-specific native bottom navigation bars without custom animations.
  • You are looking for a complete navigation routing framework.

Strengths

  • Customizable animations with configurable curves and durations.
  • Supports custom active/inactive colors, icons, and background opacity per item.

Weaknesses

  • Requires manual state tracking (e.g., using `setState` or a page controller) to synchronize selection index.
  • Breaking changes in past major versions removed built-in properties like `darkActiveColor`.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
BottomBar(
  selectedIndex: _currentPage,
  onTap: (int index) {
    _pageController.jumpToPage(index);
    setState(() => _currentPage = index);
  },
  items: <BottomBarItem>[
    BottomBarItem(
      icon: Icon(Icons.home),
      title: Text('Home'),
      activeColor: Colors.blue,
    ),
  ],
)

Alternatives

Packages that do the same job and could replace bottom_bar.