cupertino_tabbar 1.0.0

  • Readme
  • Changelog
  • Example
  • Installing
  • new50

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



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.





[1.0.0] - 06.11.2019

  • Initial release.

example/README.md

example #

Example Project for Example Project for cupertino_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



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.





Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  cupertino_tabbar: ^1.0.0

2. Install it

You can install packages from the command line:

with Flutter:


$ flutter pub get

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:cupertino_tabbar/cupertino_tabbar.dart';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
0
Health:
Code health derived from static analysis. [more]
100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
100
Overall:
Weighted score of the above. [more]
50
Learn more about scoring.

We analyzed this package on Nov 15, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.6.0
  • pana: 0.12.21
  • Flutter: 1.9.1+hotfix.6

Platforms

Detected platforms: Flutter

References Flutter, and has no conflicting libraries.

Health suggestions

Format lib/cupertino_tabbar.dart.

Run flutter format to format lib/cupertino_tabbar.dart.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.2.2 <3.0.0
flutter 0.0.0
Transitive dependencies
collection 1.14.11 1.14.12
meta 1.1.7 1.1.8
sky_engine 0.0.99
typed_data 1.1.6
vector_math 2.0.8
Dev dependencies
flutter_test