copyWith method

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