Skip to content

A colorful TabBar Flutter library with color animating indicator where each tab has a color. (inspired by SmartNews app)

License

Notifications You must be signed in to change notification settings

TrendingTechnology/flutter_colorful_tab

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.1.0"

Import the library in your file:

import 'package:flutter_colorful_tab/flutter_colorful_tab.dart';

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,
)

About

A colorful TabBar Flutter library with color animating indicator where each tab has a color. (inspired by SmartNews app)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dart 98.3%
  • Swift 1.2%
  • Other 0.5%