copyWith method

FieldStyleRangeSlider copyWith({
  1. double? min,
  2. double? max,
  3. int? divisions,
  4. Color? activeColor,
  5. Color? inactiveColor,
  6. Color? thumbColor,
  7. Color? overlayColor,
  8. MouseCursor? mouseCursor,
  9. SemanticFormatterCallback? semanticFormatterCallback,
  10. bool? showTitle,
  11. Widget? title,
  12. double? titleSpacing,
  13. bool? showLabels,
  14. String labelFormatter(
    1. double value
    )?,
  15. bool? showValues,
  16. String valueFormatter(
    1. double start,
    2. double end
    )?,
  17. TextStyle? valueTextStyle,
  18. double? valueSpacing,
  19. bool? enabled,
  20. double? headerSpacing,
  21. double? footerSpacing,
})
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,
  );
}