v0.0.3fw_tab_bar
A customizable tab bar widget with slide animation.
4Likes 8530-day downloads155Pub points
AndroidiOSWebmacOSWindowsLinux
FlutterWala/fw_TabBar open-source repository details.
English project snapshot. Visit GitHub for the latest content.
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.
Dependency list 4 items
{"sdk":"flutter"}—{"sdk":"flutter"}^3.0.0Start with your use case, compare repository activity, and check the original project before adopting it.
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗