copyWith method

  1. @useResult
FSliderThumbStyle copyWith({
  1. FWidgetStateMap<Color>? color,
  2. FWidgetStateMap<Color>? borderColor,
  3. double? borderWidth,
  4. 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,
);