copyWith method
Returns a copy of this FSliderMarkStyle but with the given fields replaced with the new values.
Implementation
@useResult
FSliderMarkStyle copyWith({
Color? tickColor,
double? tickSize,
TextStyle? labelTextStyle,
Alignment? labelAnchor,
double? labelOffset,
}) =>
FSliderMarkStyle(
tickColor: tickColor ?? this.tickColor,
tickSize: tickSize ?? this.tickSize,
labelTextStyle: labelTextStyle ?? this.labelTextStyle,
labelAnchor: labelAnchor ?? this.labelAnchor,
labelOffset: labelOffset ?? this.labelOffset,
);