cupertino_tabbar

It is highly recommended to read the documentation and run the example project on a real device to fully understand and inspect the full range of capabilities.

This is a highly customisable and simple widget for having iOS 13 style tab bars.

cupertino_tabbar

How-to-Use

Simply create a CupertinoTabBar as shown in the example:

CupertinoTabBar(
  Colors.black                  //_backgroundColor
  Colors.white                  //_foregroundColor
  [...],                        //_widgets
  cupertinoTabBarValueGetter,   //_valueGetter
  (int index) {                 //_onTap
    setState(() {
      cupertinoTabBarValue = index;
    });
  },
  {Key key,
  useSeparators     : false,
  horizontalPadding : 10.0,
  verticalPadding   : 10.0,
  borderRadius      : const BorderRadius.all(const Radius.circular(10.0)),
  duration          : const Duration(milliseconds: 250)})
)

int cupertinoTabBarValue = 0;
int cupertinoTabBarValueGetter() => cupertinoTabBarIValue;

Further Explanations:

For a complete set of descriptions for all parameters and methods, see the documentation.

GitHub

https://github.com/aliyigitbireroglu/flutter-cupertino-tabbar