https://github.com/hienlh/flutter_point_tab_bar
A tab bar widget for Flutter 💙 with point indicator.
https://github.com/hienlh/flutter_point_tab_bar
flutter point tabbar
Last synced: about 1 year ago
JSON representation
A tab bar widget for Flutter 💙 with point indicator.
- Host: GitHub
- URL: https://github.com/hienlh/flutter_point_tab_bar
- Owner: hienlh
- License: mit
- Created: 2020-02-05T05:17:33.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-03-07T11:59:23.000Z (over 5 years ago)
- Last Synced: 2024-04-20T13:29:24.701Z (about 2 years ago)
- Topics: flutter, point, tabbar
- Language: Dart
- Homepage: https://pub.dev/packages/flutter_point_tab_bar
- Size: 1.18 MB
- Stars: 5
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# flutter_point_tab_bar
A tab bar widget with point indicator.
# Demo

# Usage
```dart
TabBar(
controller: _tabController,
indicator: PointTabIndicator(
position: PointTabIndicatorPosition.bottom,
color: Colors.white,
insets: EdgeInsets.only(bottom: 6),
),
tabs: tabList.map((item) {
return Tab(
text: item,
);
}).toList(),
)
```
# Example
Please run the app in the [`example/`](https://github.com/hienlh/flutter_point_tab_bar/tree/master/example) folder to start playing!