copyWith method

  1. @useResult
FSliderThumbStyle copyWith({
  1. Color? color,
  2. Color? borderColor,
  3. double? borderWidth,
})

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,
}) =>
    FSliderThumbStyle(
      color: color ?? this.color,
      borderColor: borderColor ?? this.borderColor,
      borderWidth: borderWidth ?? this.borderWidth,
    );