shifting_tabbar
Flutter 框架的自定標籤欄小部件。
- 星標
- 146
- 分支
- 17
- 最近推送(UTC)
- 2025年7月12日
- 專案狀態
- 未封存
原始 README
以下為英文專案原文快照,最新內容請造訪 GitHub。
Shifting TabBar
A custom tab bar widget for Flutter framework.
The design is inspired from Rally project (one of material design studies).
Getting Started
Add the package to pubspec.yaml
dependencies:
...
shifting_tabbar: ^1.0.2
Import the package
import 'package:shifting_tabbar/shifting_tabbar.dart';
Basic Usage
This widget is programmed to work with TabController.
You just need to install and import it to your code and use it just like TabBar.
Don't forget to use DefaultTabController as an ancestor widget if you don't specify controller manually!
new ShiftingTabBar(
tabs: [
ShiftingTab(
icon: Icon(Icons.directions_bike),
text: "Test 1",
),
ShiftingTab(
icon: Icon(Icons.directions_car),
text: "Test 2"
),
ShiftingTab(
icon: Icon(Icons.directions_transit),
text: "Test 3"
),
],
)
See example folder in git repository for more detailed example.
語言DartJavaObjective-CSwiftKotlin
分類
使用的依賴
依賴清單 2 項
- flutter
{"sdk":"flutter"} - flutter_test開發依賴
{"sdk":"flutter"}
如何選擇適合專案的儲存庫?
先依使用情境篩選,再比較專案活躍情況,最後到原始儲存庫確認使用要求。
- 透過儲存庫名稱、作者或描述搜尋,再依技術分類縮小範圍。
- 綜合星標、分支與最近推送比較專案;星標反映社群關注,不保證品質。
- 使用前在 GitHub 確認 README、授權條款與 Issues。
來源與維護
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗