copyWith method
FieldStyleRangeSlider
copyWith({
- double? min,
- double? max,
- int? divisions,
- Color? activeColor,
- Color? inactiveColor,
- Color? thumbColor,
- Color? overlayColor,
- MouseCursor? mouseCursor,
- SemanticFormatterCallback? semanticFormatterCallback,
- bool? showTitle,
- Widget? title,
- double? titleSpacing,
- bool? showLabels,
- String labelFormatter(
- double value
- bool? showValues,
- String valueFormatter()?,
- TextStyle? valueTextStyle,
- double? valueSpacing,
- bool? enabled,
- double? headerSpacing,
override
Implementation
FieldStyleRangeSlider copyWith({
double? min,
double? max,
int? divisions,
Color? activeColor,
Color? inactiveColor,
Color? thumbColor,
Color? overlayColor,
MouseCursor? mouseCursor,
SemanticFormatterCallback? semanticFormatterCallback,
bool? showTitle,
Widget? title,
double? titleSpacing,
bool? showLabels,
String Function(double value)? labelFormatter,
bool? showValues,
String Function(double start, double end)? valueFormatter,
TextStyle? valueTextStyle,
double? valueSpacing,
bool? enabled,
double? headerSpacing,
double? footerSpacing,
}) {
return FieldStyleRangeSlider(
min: min ?? this.min,
max: max ?? this.max,
divisions: divisions ?? this.divisions,
activeColor: activeColor ?? this.activeColor,
inactiveColor: inactiveColor ?? this.inactiveColor,
thumbColor: thumbColor ?? this.thumbColor,
overlayColor: overlayColor ?? this.overlayColor,
mouseCursor: mouseCursor ?? this.mouseCursor,
semanticFormatterCallback:
semanticFormatterCallback ?? this.semanticFormatterCallback,
showTitle: showTitle ?? this.showTitle,
title: title ?? this.title,
titleSpacing: titleSpacing ?? this.titleSpacing,
showLabels: showLabels ?? this.showLabels,
labelFormatter: labelFormatter ?? this.labelFormatter,
showValues: showValues ?? this.showValues,
valueFormatter: valueFormatter ?? this.valueFormatter,
valueTextStyle: valueTextStyle ?? this.valueTextStyle,
valueSpacing: valueSpacing ?? this.valueSpacing,
enabled: enabled ?? this.enabled,
headerSpacing: headerSpacing ?? this.headerSpacing,
footerSpacing: footerSpacing ?? this.footerSpacing,
);
}