MaterialSliderData constructor Null safety

MaterialSliderData(
  1. {Key? widgetKey,
  2. double? value,
  3. void onChanged(
    1. double
    )?,
  4. void onChangeStart(
    1. double
    )?,
  5. void onChangeEnd(
    1. double
    )?,
  6. int? divisions,
  7. double? min,
  8. double? max,
  9. Color? activeColor,
  10. Color? inactiveColor,
  11. String? label,
  12. SemanticFormatterCallback? semanticFormatterCallback,
  13. FocusNode? focusNode,
  14. MouseCursor? mouseCursor,
  15. bool? autofocus}
)

Implementation

MaterialSliderData({
  Key? widgetKey,
  double? value,
  void Function(double)? onChanged,
  void Function(double)? onChangeStart,
  void Function(double)? onChangeEnd,
  int? divisions,
  double? min,
  double? max,
  Color? activeColor,
  this.inactiveColor,
  this.label,
  this.semanticFormatterCallback,
  this.focusNode,
  this.mouseCursor,
  this.autofocus,
}) : super(
          widgetKey: widgetKey,
          value: value,
          onChanged: onChanged,
          onChangeStart: onChangeStart,
          onChangeEnd: onChangeEnd,
          activeColor: activeColor,
          divisions: divisions,
          min: min,
          max: max);