v0.1.6bubble_tab_indicator
一個 Flutter 庫,可為 TabBar 的標籤指示器添加氣泡效果。
254喜歡 3280近 30 天下載140Pub 分數
AndroidiOSWebmacOSWindowsLinux
一個為 TabBar 添加氣泡標籤指示器的 Flutter 庫
以下為英文專案原文快照,最新內容請造訪 GitHub。
A Flutter library to add bubble tab indicator to TabBar.
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)
),
)
依賴清單 2 項
{"sdk":"flutter"}{"sdk":"flutter"}先依使用情境篩選,再比較專案活躍情況,最後到原始儲存庫確認使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗