flutter_colorful_tab 0.0.6 copy "flutter_colorful_tab: ^0.0.6" to clipboard
flutter_colorful_tab: ^0.0.6 copied to clipboard

outdated

A colorful TabBar for Flutter where each tab has a color (inspired by SmartNews app).

Flutter Colorful TabBar #

A colorful TabBar for Flutter where each tab has a color (inspired by SmartNews app).

demo

Getting Started #

Add this to your package's pubspec.yaml file:

  dependencies:
    flutter_colorful_tab: "^0.0.6"
copied to clipboard

Import the library in your file:

import 'package:flutter_colorful_tab/flutter_colorful_tab.dart';
copied to clipboard

Use the flutter_colorful_tab like this:

ColorfulTabBar(
  tabs: [
    TabItem(color: Colors.red, title: Text('Home')),
    TabItem(color: Colors.green, title: Text('Favorite')),
    TabItem(color: Colors.orange, title: Text('Search')),
    TabItem(color: Colors.green, title: Text('Settings')),
  ],
  controller: _tabController,
)
copied to clipboard
33
likes
0
points
2.15k
downloads

Publisher

unverified uploader

Weekly Downloads

2024.05.28 - 2025.04.22

A colorful TabBar for Flutter where each tab has a color (inspired by SmartNews app).

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on flutter_colorful_tab