Skip to content
pubscout

motion_tab_bar_v2

3.0.0, released 3 months ago by an unverified publisher

An animated bottom navigation bar with a sliding indicator and custom badges

WASM-ready
$ flutter pub add motion_tab_bar_v2
Source repository

What it does

Provides a customizable bottom navigation bar where the active tab icon animates into place with a sliding motion effect. It supports custom icons or widgets, notification badges, and programmatic tab control via a custom controller.

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

Use it when

  • You want an animated bottom navigation bar with a floating active tab indicator
  • You need to display notification badges or indicators on specific tabs
  • You need programmatic control to change the active tab index

Skip it when

  • You need standard Material NavigationBar or BottomNavigationBar components
  • You require built-in swipe navigation handling within the TabBarView (swipe navigation handling is not supported)

Strengths

  • Smooth motion animations for the active tab indicator
  • Supports both standard IconData and custom icon widgets
  • Built-in badge support and MotionBadgeWidget

Weaknesses

  • Swipe navigation handling is not supported by default
  • Relies on a custom controller setup for programmatic changes

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
bottomNavigationBar: MotionTabBar(
  initialSelectedTab: "Home",
  labels: const ["Dashboard", "Home", "Profile", "Settings"],
  icons: const [
    Icons.dashboard,
    Icons.home,
    Icons.people_alt,
    Icons.settings,
  ],
  onTabItemSelected: (int value) {
    setState(() {
      // handle tab change
    });
  },
)

Alternatives

Packages that do the same job and could replace motion_tab_bar_v2.