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)
          ),
)