copyWith method

FieldStyleSlider 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. FocusNode? focusNode,
  11. bool? autofocus,
  12. SliderInteraction? allowedInteraction,
  13. bool? showTitle,
  14. Widget? title,
  15. double? titleSpacing,
  16. bool? showLabel,
  17. String labelFormatter(
    1. double value
    )?,
  18. bool? showValue,
  19. String valueFormatter(
    1. double value
    )?,
  20. TextStyle? valueTextStyle,
  21. double? valueSpacing,
  22. bool? enabled,
  23. double? headerSpacing,
  24. double? footerSpacing,
})
override

Implementation

FieldStyleSlider copyWith({
  double? min,
  double? max,
  int? divisions,
  Color? activeColor,
  Color? inactiveColor,
  Color? thumbColor,
  Color? overlayColor,
  MouseCursor? mouseCursor,
  SemanticFormatterCallback? semanticFormatterCallback,
  FocusNode? focusNode,
  bool? autofocus,
  SliderInteraction? allowedInteraction,
  bool? showTitle,
  Widget? title,
  double? titleSpacing,
  bool? showLabel,
  String Function(double value)? labelFormatter,
  bool? showValue,
  String Function(double value)? valueFormatter,
  TextStyle? valueTextStyle,
  double? valueSpacing,
  bool? enabled,
  double? headerSpacing,
  double? footerSpacing,
}) {
  return FieldStyleSlider(
    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,
    focusNode: focusNode ?? this.focusNode,
    autofocus: autofocus ?? this.autofocus,
    allowedInteraction: allowedInteraction ?? this.allowedInteraction,
    showTitle: showTitle ?? this.showTitle,
    title: title ?? this.title,
    titleSpacing: titleSpacing ?? this.titleSpacing,
    showLabel: showLabel ?? this.showLabel,
    labelFormatter: labelFormatter ?? this.labelFormatter,
    showValue: showValue ?? this.showValue,
    valueFormatter: valueFormatter ?? this.valueFormatter,
    valueTextStyle: valueTextStyle ?? this.valueTextStyle,
    valueSpacing: valueSpacing ?? this.valueSpacing,
    enabled: enabled ?? this.enabled,
    headerSpacing: headerSpacing ?? this.headerSpacing,
    footerSpacing: footerSpacing ?? this.footerSpacing,
  );
}