Skip to content
pubscout

convex_bottom_bar

3.2.0, released 4 years ago by hacktons.cn

A bottom navigation bar with convex shapes, animations, badges, and custom styles.

Flutter FavoriteWASM-ready
$ flutter pub add convex_bottom_bar
Source repository

What it does

Provides a customizable bottom navigation bar widget featuring convex-shaped tabs and action buttons. It supports multiple built-in transition styles, custom badge overlays, and hooks to tweak internal dimensions and text styling. Developers can integrate it directly into Scaffold's bottomNavigationBar property or build custom layouts using builder delegates.

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

Use it when

  • You want a bottom navigation bar with a raised, convex floating center tab or action button.
  • You need built-in tab styles like fixedCircle, reactCircle, or titled with integrated animations.
  • You want easy badge overlays on tab icons without manually wrapping each item.

Skip it when

  • You only require a standard Material 3 NavigationBar or CupertinoTabBar.
  • Your design calls for a notch-in FAB rather than a convex protruding shape.

Strengths

  • Rich collection of built-in animation and tab styles (fixed, react, flip, textIn).
  • Convenient badge support via ConvexAppBar.badge for displaying counts or icons on tabs.
  • Customizable through ConvexAppBar.builder and style hooks for low-level overrides.

Weaknesses

  • Style hooks can cause layout overflow if custom sizes conflict with internal calculations.
  • Infrequent maintenance updates relative to modern Flutter releases.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0

None

ConvexAppBar(
  items: [
    TabItem(icon: Icons.home, title: 'Home'),
    TabItem(icon: Icons.map, title: 'Discovery'),
    TabItem(icon: Icons.add, title: 'Add'),
    TabItem(icon: Icons.message, title: 'Message'),
    TabItem(icon: Icons.people, title: 'Profile'),
  ],
  onTap: (int i) => print('click index=$i'),
)

Alternatives

Packages that do the same job and could replace convex_bottom_bar.