copyWith method
- @useResult
- FWidgetStateMap<
Color> ? tickColor, - double? tickSize,
- FWidgetStateMap<
TextStyle> ? labelTextStyle, - AlignmentGeometry? labelAnchor,
- double? labelOffset,
inherited
Returns a copy of this FSliderMarkStyle with the given properties replaced.
Where possible, it is strongly recommended to use the CLI to generate a style and directly modify the style.
Implementation
@useResult
FSliderMarkStyle copyWith({
FWidgetStateMap<Color>? tickColor,
double? tickSize,
FWidgetStateMap<TextStyle>? labelTextStyle,
AlignmentGeometry? labelAnchor,
double? labelOffset,
}) => FSliderMarkStyle(
tickColor: tickColor ?? this.tickColor,
tickSize: tickSize ?? this.tickSize,
labelTextStyle: labelTextStyle ?? this.labelTextStyle,
labelAnchor: labelAnchor ?? this.labelAnchor,
labelOffset: labelOffset ?? this.labelOffset,
);