copyWith method

ZeroStepStyle copyWith({
  1. Color? inactiveColor,
  2. Color? activeColor,
  3. Color? errorColor,
  4. Color? iconColor,
  5. TextStyle? indexTextStyle,
  6. TextStyle? titleTextStyle,
  7. TextStyle? subtitleTextStyle,
  8. TextStyle? contentTextStyle,
  9. TextStyle? labelTextStyle,
  10. double? stepSize,
})

Implementation

ZeroStepStyle copyWith({
  Color? inactiveColor,
  Color? activeColor,
  Color? errorColor,
  Color? iconColor,
  TextStyle? indexTextStyle,
  TextStyle? titleTextStyle,
  TextStyle? subtitleTextStyle,
  TextStyle? contentTextStyle,
  TextStyle? labelTextStyle,
  double? stepSize,
}) =>
    ZeroStepStyle(
      inactiveColor: inactiveColor ?? this.inactiveColor,
      activeColor: activeColor ?? this.activeColor,
      errorColor: errorColor ?? this.errorColor,
      iconColor: iconColor ?? this.iconColor,
      indexTextStyle: indexTextStyle ?? this.indexTextStyle,
      titleTextStyle: titleTextStyle ?? this.titleTextStyle,
      subtitleTextStyle: subtitleTextStyle ?? this.subtitleTextStyle,
      contentTextStyle: contentTextStyle ?? this.contentTextStyle,
      labelTextStyle: labelTextStyle ?? this.labelTextStyle,
    );