项目作者: vipulasri

项目描述 :
A Flutter library to add bubble tab indicator to TabBar
高级语言: Dart
项目地址: git://github.com/vipulasri/flutter_bubble_tab_indicator.git
创建时间: 2018-05-21T06:15:58Z
项目社区:https://github.com/vipulasri/flutter_bubble_tab_indicator

开源协议:MIT License

下载


Bubble Tab Indicator

pub package

A Flutter library to add bubble tab indicator to TabBar.

banner

Getting Started

Add package from github by adding the following to your pubspec.yaml, pub publication is added later.

  1. dependencies:
  2. bubble_tab_indicator: "^0.1.5"

Import the library in your file:

  1. import 'package:bubble_tab_indicator/bubble_tab_indicator.dart';

Use the BubbleTabIndicator like this:

  1. new TabBar(
  2. indicatorSize: TabBarIndicatorSize.tab,
  3. indicator: BubbleTabIndicator(
  4. indicatorHeight: 25.0,
  5. indicatorColor: Colors.blueAccent,
  6. tabBarIndicatorSize: TabBarIndicatorSize.tab,
  7. // Other flags
  8. // indicatorRadius: 1,
  9. // insets: EdgeInsets.all(1),
  10. // padding: EdgeInsets.all(10)
  11. ),
  12. )