/tabbar_gradient_indicator

A Flutter tabbar gradient indicator. Writted with pure dart, supported both iOS and Android.

Primary LanguageC++BSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Tabbar gradient indicator

a custom tabbar gradient indicator for flutter, and it support ios and android

Screenshots

image

Getting Started

  1. Depend on it by adding this to your pubspec.yaml file: tabbar_gradient_indicator: ^1.0.1

  2. Import it: import 'package:tabbar_gradient_indicator/tabbar_gradient_indicator.dart'

  3. set the indicator property of Tabbar like this:

TabBar(indicator: TabBarGradientIndicator(
            gradientColor: [Color(0xff579CFA) , Color(0xff2FDEE7)],
            indicatorWidth: 2)
)