SegmentTab constructor

const SegmentTab({
  1. required String label,
  2. Color? color,
  3. Gradient? gradient,
  4. Color? selectedTextColor,
  5. Color? backgroundColor,
  6. Gradient? backgroundGradient,
  7. Color? textColor,
  8. Color? splashColor,
  9. Color? splashHighlightColor,
  10. int flex = 1,
})

Implementation

const SegmentTab({
  required this.label,
  this.color,
  this.gradient,
  this.selectedTextColor,
  this.backgroundColor,
  this.backgroundGradient,
  this.textColor,
  this.splashColor,
  this.splashHighlightColor,
  this.flex = 1,
});