copyWith method
- @useResult
- FWidgetStateMap<Color> ? color,
- FWidgetStateMap<Color> ? borderColor,
- double? borderWidth,
- FFocusedOutlineStyle focusedOutlineStyle(- FFocusedOutlineStyle style
 
Returns a copy of this FSliderThumbStyle with the given properties replaced.
Consider using the CLI to generate a style.
Parameters
- FSliderThumbStyle.color - The thumb's color.
- FSliderThumbStyle.borderColor - The border's color.
- FSliderThumbStyle.borderWidth - The border's width.
- FSliderThumbStyle.focusedOutlineStyle - The thumb's focused outline style.
Implementation
@useResult
FSliderThumbStyle copyWith({
  FWidgetStateMap<Color>? color,
  FWidgetStateMap<Color>? borderColor,
  double? borderWidth,
  FFocusedOutlineStyle Function(FFocusedOutlineStyle style)? focusedOutlineStyle,
}) => FSliderThumbStyle(
  color: color ?? this.color,
  borderColor: borderColor ?? this.borderColor,
  borderWidth: borderWidth ?? this.borderWidth,
  focusedOutlineStyle: focusedOutlineStyle != null
      ? focusedOutlineStyle(this.focusedOutlineStyle)
      : this.focusedOutlineStyle,
);