copyWith method
- @useResult
- @override
- TextStyle? labelTextStyle,
- TextStyle? descriptionTextStyle,
- TextStyle? errorTextStyle,
- Color? activeColor,
- Color? inactiveColor,
- double? mainAxisPadding,
- BorderRadius? borderRadius,
- FSliderMarkStyle? markStyle,
- FSliderThumbStyle? thumbStyle,
- FTooltipStyle? tooltipStyle,
override
Returns a copy of this FSliderStateStyle but with the given fields replaced with the new values.
Implementation
@useResult
@override
FSliderErrorStyle copyWith({
TextStyle? labelTextStyle,
TextStyle? descriptionTextStyle,
TextStyle? errorTextStyle,
Color? activeColor,
Color? inactiveColor,
double? mainAxisPadding,
BorderRadius? borderRadius,
FSliderMarkStyle? markStyle,
FSliderThumbStyle? thumbStyle,
FTooltipStyle? tooltipStyle,
}) =>
FSliderErrorStyle(
labelTextStyle: labelTextStyle ?? this.labelTextStyle,
descriptionTextStyle: descriptionTextStyle ?? this.descriptionTextStyle,
errorTextStyle: errorTextStyle ?? this.errorTextStyle,
activeColor: activeColor ?? this.activeColor,
inactiveColor: inactiveColor ?? this.inactiveColor,
borderRadius: borderRadius ?? this.borderRadius,
markStyle: markStyle ?? this.markStyle,
thumbStyle: thumbStyle ?? this.thumbStyle,
tooltipStyle: tooltipStyle ?? this.tooltipStyle,
);