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 ↗