FLUTTER ECOSYSTEM

vipulasri/flutter_bubble_tab_indicator

A Flutter library to add bubble tab indicator to TabBar

flutter_bubble_tab_indicator project cover
Stars
190
Forks
32
Last push (UTC)
Mar 8, 2021
Project status
Active
Vipul Asri GitHub avatar
GITHUB User

Vipul Asri ↗

Toronto, CanadaOfficial website ↗
LanguagesDartObjective-CKotlin

Technical topics

Packages published by this repository

Dependencies used

Dependency list 2 items
  • flutter{"sdk":"flutter"}
  • flutter_testDevelopment{"sdk":"flutter"}

Original README

English project snapshot. Visit GitHub for the latest content.

Expand / collapse project README

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.

  dependencies:
    bubble_tab_indicator: "^0.1.5"

Import the library in your file:

import 'package:bubble_tab_indicator/bubble_tab_indicator.dart';

Use the BubbleTabIndicator like this:

new TabBar(
  indicatorSize: TabBarIndicatorSize.tab,
  indicator: BubbleTabIndicator(
            indicatorHeight: 25.0,
            indicatorColor: Colors.blueAccent,
            tabBarIndicatorSize: TabBarIndicatorSize.tab,
            // Other flags
            // indicatorRadius: 1,
            // insets: EdgeInsets.all(1),
            // padding: EdgeInsets.all(10)
          ),
)