v1.0.0
toggle_bar
一個水平的切換標籤欄,顏色和標籤可自訂。
44喜歡 26近 30 天下載40Pub 分數
平台暫無資料
一個可自定義的切換按鈕水平條。
以下為英文專案原文快照,最新內容請造訪 GitHub。
A dart package to display a horizontal bar of customisable toggle tabs. Supports iOS and Android.
Depend on it.
dependencies:
toggle_bar: ^1.0.0
import 'package:toggle_bar/toggle_bar.dart';
ToggleBar(
labels: ["Apples", "Bananas", "Oranges", "Watermelons"],
onSelectionUpdated: (index) => // Do something with index
)
@required List<String> labels;
Color backgroundColor;
Color selectedTabColor;
Color selectedTextColor;
Color textColor;
BoxBorder backgroundBorder;
TextStyle labelTextStyle;
Function(int) onSelectionUpdated;
依賴清單 3 項
{"sdk":"flutter"}any{"sdk":"flutter"}先依使用情境篩選,再比較專案活躍情況,最後到原始儲存庫確認使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗