copyWith method
- @useResult
- @override
- TextStyle? labelTextStyle,
- TextStyle? descriptionTextStyle,
- 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
FSliderStateStyle copyWith({
TextStyle? labelTextStyle,
TextStyle? descriptionTextStyle,
Color? activeColor,
Color? inactiveColor,
double? mainAxisPadding,
BorderRadius? borderRadius,
FSliderMarkStyle? markStyle,
FSliderThumbStyle? thumbStyle,
FTooltipStyle? tooltipStyle,
}) =>
FSliderStateStyle(
labelTextStyle: labelTextStyle ?? this.labelTextStyle,
descriptionTextStyle: descriptionTextStyle ?? this.descriptionTextStyle,
activeColor: activeColor ?? this.activeColor,
inactiveColor: inactiveColor ?? this.inactiveColor,
borderRadius: borderRadius ?? this.borderRadius,
markStyle: markStyle ?? this.markStyle,
thumbStyle: thumbStyle ?? this.thumbStyle,
tooltipStyle: tooltipStyle ?? this.tooltipStyle,
);