copyWith method
ZeroStepStyle
copyWith(
{ - Color? inactiveColor,
- Color? activeColor,
- Color? errorColor,
- Color? iconColor,
- TextStyle? indexTextStyle,
- TextStyle? titleTextStyle,
- TextStyle? subtitleTextStyle,
- TextStyle? contentTextStyle,
- TextStyle? labelTextStyle,
- 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,
);