Flutter Simple Tabbar

Flutter Simple Tabbar

cupertino_tabbar

Cosmos Software

Pub License

A highly customisable and simple widget for having iOS 13 style tab bars.

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.

Media | Description | Installation | How-to-Use

Media

Watch on Youtube:

v1.0.0

Flutter Simple Tabbar

Description

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

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.

Notes

Any help, suggestion or criticism is appreciated!

Cheers.

Source Code

Please Visit Flutter Simple Tabbar Source Code at GitHub