v0.0.3fw_tab_bar
一個可自定義的標籤欄小部件,帶有滑動動畫。
4喜歡 85近 30 天下載155Pub 分數
AndroidiOSWebmacOSWindowsLinux
FlutterWala/fw_TabBar open-source repository details.
以下為英文專案原文快照,最新內容請造訪 GitHub。
A customizable tab bar widget with animation made by Umang Pipaliya.
Add the package to your pubspec.yaml:
dependencies:
tab_bar_widget: ^0.0.1
import 'package:flutter/material.dart';
import 'package:tab_bar_widget/tab_bar_widget.dart';
class MyHomePage extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(title: Text('Tab Bar Example')),
body: Center(
child: TabBarWidget(
firstTab: 'Tab 1',
secondTab: 'Tab 2',
onTabChanged: (int index) {
print('Selected tab: $index');
},
),
),
);
}
}
This project is licensed under the MIT License - see the LICENSE file for details.
依賴清單 4 項
{"sdk":"flutter"}—{"sdk":"flutter"}^3.0.0先依使用情境篩選,再比較專案活躍情況,最後到原始儲存庫確認使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗