copyWith method

DebugTheme copyWith({
  1. Color? color,
  2. Color? borderColor,
  3. Color? activeColor,
  4. Color? activeBorderColor,
  5. Color? labelColor,
  6. Color? labelBackgroundColor,
  7. Color? indicatorColor,
  8. List<Color>? segmentColors,
})

Implementation

DebugTheme copyWith({
  Color? color,
  Color? borderColor,
  Color? activeColor,
  Color? activeBorderColor,
  Color? labelColor,
  Color? labelBackgroundColor,
  Color? indicatorColor,
  List<Color>? segmentColors,
}) {
  return DebugTheme(
    color: color ?? this.color,
    borderColor: borderColor ?? this.borderColor,
    activeColor: activeColor ?? this.activeColor,
    activeBorderColor: activeBorderColor ?? this.activeBorderColor,
    labelColor: labelColor ?? this.labelColor,
    labelBackgroundColor: labelBackgroundColor ?? this.labelBackgroundColor,
    indicatorColor: indicatorColor ?? this.indicatorColor,
    segmentColors: segmentColors ?? this.segmentColors,
  );
}