IndicatorModel constructor
const
IndicatorModel({
- TabIndicatorType type = TabIndicatorType.underline,
- Color? color,
- double? thickness = 2,
- double? radius,
- BoxShape? shape,
- double? verticalPadding,
- Gradient? gradient,
- Decoration? customDecoration,
- EdgeInsetsGeometry? padding,
- TabIndicatorPosition position = TabIndicatorPosition.bottom,
- CustomPainter customPainterBuilder(
- Size size,
- TextDirection? direction
Implementation
const IndicatorModel({
this.type = TabIndicatorType.underline,
this.color,
this.thickness = 2,
this.radius,
this.shape,
this.verticalPadding,
this.gradient,
this.customDecoration,
this.padding,
this.position = TabIndicatorPosition.bottom,
this.customPainterBuilder,
});