Skip to content
pubscout

cupertino_tabbar

2.0.0, released 6 years ago by cosmossoftware.coffee

iOS‑style customizable tab bar widget for Flutter.

WASM-ready
$ flutter pub add cupertino_tabbar
Source repository

What it does

Provides a single widget that mimics the iOS 13 tab bar with extensive visual customization options. It supports scrollable tabs, shadows, padding, and animation tweaks.

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

Use it when

  • You need an iOS‑look tab bar that matches the iOS 13 design
  • You require fine‑grained visual control over tab bar appearance
  • You want a lightweight, null‑safe widget without extra dependencies

Skip it when

  • You need a full navigation solution or routing system
  • Your app must follow Material design guidelines
  • You require platform‑adaptive tab bars for both iOS and Android

Strengths

  • Highly customizable (padding, shadow, animation)
  • Supports scrollable tab bars out of the box
  • Null‑safe and lightweight

Weaknesses

  • Only provides a tab bar – no navigation logic
  • Limited to Cupertino style, not suitable for Material design
  • Documentation is minimal

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
CupertinoTabBar(
  Colors.black, // backgroundColor
  Colors.white, // foregroundColor
  [/* widgets */],
  cupertinoTabBarValueGetter,
  (int index) { setState(() => cupertinoTabBarValue = index); },
  {
    Key? key,
    useSeparators: false,
    innerHorizontalPadding: 10.0,
    innerVerticalPadding: 10.0,
    borderRadius: const BorderRadius.all(Radius.circular(10.0)),
    curve: Curves.linearToEaseOut,
    duration: const Duration(milliseconds: 350),
    allowExpand: false,
    allowScrollable: false,
    fittedWhenScrollable: false,
    animateWhenScrollable: false,
    animateUntilScrolled: false,
    outerHorizontalPadding: 10.0,
    outerVerticalPadding: 0,
  },
)

Alternatives

Packages that do the same job and could replace cupertino_tabbar.

  • cupertino_ui

    Offers a broader set of Cupertino widgets, including tab bars, and may replace this package if you need more than just a tab bar