copyWith method

  1. @useResult
FSliderStyles copyWith({
  1. FSliderStyle? horizontalStyle,
  2. FSliderStyle? verticalStyle,
})

Returns a copy of this FSliderStyles but with the given fields replaced with the new values.

Implementation

@useResult
FSliderStyles copyWith({
  FSliderStyle? horizontalStyle,
  FSliderStyle? verticalStyle,
}) =>
    FSliderStyles(
      horizontalStyle: horizontalStyle ?? this.horizontalStyle,
      verticalStyle: verticalStyle ?? this.verticalStyle,
    );