copyWith method
- @useResult
- FWidgetStateMap<
Color> ? color, - FWidgetStateMap<
Color> ? borderColor, - double? borderWidth,
- FFocusedOutlineStyle? focusedOutlineStyle,
inherited
Returns a copy of this FSliderThumbStyle with the given properties replaced.
Where possible, it is strongly recommended to use the CLI to generate a style and directly modify the style.
Implementation
@useResult
FSliderThumbStyle copyWith({
FWidgetStateMap<Color>? color,
FWidgetStateMap<Color>? borderColor,
double? borderWidth,
FFocusedOutlineStyle? focusedOutlineStyle,
}) => FSliderThumbStyle(
color: color ?? this.color,
borderColor: borderColor ?? this.borderColor,
borderWidth: borderWidth ?? this.borderWidth,
focusedOutlineStyle: focusedOutlineStyle ?? this.focusedOutlineStyle,
);