copyWith method
- @useResult
- FLabelLayoutStyle? labelLayoutStyle,
- FSliderStateStyle? enabledStyle,
- FSliderStateStyle? disabledStyle,
- FSliderErrorStyle? errorStyle,
- double? thumbSize,
- double? crossAxisExtent,
- Alignment? tooltipTipAnchor,
- Alignment? tooltipThumbAnchor,
Returns a copy of this FSliderStyle but with the given fields replaced with the new values.
Implementation
@useResult
FSliderStyle copyWith({
FLabelLayoutStyle? labelLayoutStyle,
FSliderStateStyle? enabledStyle,
FSliderStateStyle? disabledStyle,
FSliderErrorStyle? errorStyle,
double? thumbSize,
double? crossAxisExtent,
Alignment? tooltipTipAnchor,
Alignment? tooltipThumbAnchor,
}) =>
FSliderStyle(
labelLayoutStyle: labelLayoutStyle ?? this.labelLayoutStyle,
enabledStyle: enabledStyle ?? this.enabledStyle,
disabledStyle: disabledStyle ?? this.disabledStyle,
errorStyle: errorStyle ?? this.errorStyle,
thumbSize: thumbSize ?? this.thumbSize,
crossAxisExtent: crossAxisExtent ?? this.crossAxisExtent,
tooltipTipAnchor: tooltipTipAnchor ?? this.tooltipTipAnchor,
tooltipThumbAnchor: tooltipThumbAnchor ?? this.tooltipThumbAnchor,
);