FLUTTER ECOSYSTEM

vipulasri/flutter_bubble_tab_indicator

一个为 TabBar 添加气泡标签指示器的 Flutter 库

flutter_bubble_tab_indicator 项目封面
Stars
190
Forks
32
最近推送(UTC)
2021年3月8日
项目状态
未归档
Vipul Asri GitHub avatar
GITHUB User

Vipul Asri ↗

Toronto, Canada官方网站 ↗
语言DartObjective-CKotlin

技术话题

此仓库发布的插件

使用的依赖

依赖清单 2 项
  • flutter{"sdk":"flutter"}
  • flutter_test开发依赖{"sdk":"flutter"}

原始 README

以下为英文项目原文快照,最新内容请访问 GitHub。

展开 / 收起项目 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)
          ),
)