copyWith method
- @useResult
- Color? color,
- Color? borderColor,
- double? borderWidth,
- FFocusedOutlineStyle? focusedOutlineStyle,
Returns a copy of this FSliderThumbStyle but with the given fields replaced with the new values.
Implementation
@useResult
FSliderThumbStyle copyWith({
Color? color,
Color? borderColor,
double? borderWidth,
FFocusedOutlineStyle? focusedOutlineStyle,
}) =>
FSliderThumbStyle(
color: color ?? this.color,
borderColor: borderColor ?? this.borderColor,
borderWidth: borderWidth ?? this.borderWidth,
focusedOutlineStyle: focusedOutlineStyle ?? this.focusedOutlineStyle,
);