tabbar_gradient_indicator_plus 1.0.2
tabbar_gradient_indicator_plus: ^1.0.2 copied to clipboard
A Flutter tabbar gradient indicator support set the fixedWidth and direction of gradient. Writted with pure dart, supported both iOS and Android.
Tabbar gradient indicator #
a custom tabbar gradient indicator for flutter, and it support ios and android
Screenshots #
![]() |
![]() |
|---|
Update content. #
- support set the direction of gradient.
- support set the radius of indicator.
- support set the fixedWidth of indicator.
Getting Started #
-
Depend on it by adding this to your pubspec.yaml file:
tabbar_gradient_indicator_plus: ^1.0.0 -
Import it:
import 'package:tabbar_gradient_indicator_plus/tabbar_gradient_indicator_plus.dart' -
set the indicator property of Tabbar like this:
TabBar(indicator: TabBarGradientIndicator(
gradientColor: [Color(0xff579CFA) , Color(0xff2FDEE7)],
indicatorWidth: 2)
)

