dtabs 0.0.2+2 copy "dtabs: ^0.0.2+2" to clipboard
dtabs: ^0.0.2+2 copied to clipboard

dynamic tabs creation library.

dtabs #

dynamic tabs creation library.

dtabs

Usage #

Add dtabs to your pubspec.yaml, then import the Dart file:

import 'package:dtabs/dtabs.dart';

declare a controller

TabController tabController;

pass tab names as a string

List<String> tabList = ["Tab 1", "Tab 2", "Tab 3"];

initiate the class and pass required values

 DTabs(
  tabController: tabController, // @required
  tabList: tabList, // @required
  currentIndex: 0 // default: 0
  )

See the documentation for API details: https://pub.dartlang.org/documentation/dtabs/latest/.

Contributions #

Contributions are very welcome. I would recommend discussing large changes in an issue before you spend the time on them.

Good quality pull requests will win you commit rights.

4
likes
30
pub points
0%
popularity

Publisher

unverified uploader

dynamic tabs creation library.

Repository (GitHub)
View/report issues
Contributing

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on dtabs