IndicatorModel constructor

const IndicatorModel({
  1. TabIndicatorType type = TabIndicatorType.underline,
  2. Color? color,
  3. double? thickness = 2,
  4. double? radius,
  5. BoxShape? shape,
  6. double? verticalPadding,
  7. Gradient? gradient,
  8. Decoration? customDecoration,
  9. EdgeInsetsGeometry? padding,
  10. TabIndicatorPosition position = TabIndicatorPosition.bottom,
  11. CustomPainter customPainterBuilder(
    1. Size size,
    2. 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,
});