MaterialSliderData constructor

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? thumbColor,
  11. Color? inactiveColor,
  12. String? label,
  13. SemanticFormatterCallback? semanticFormatterCallback,
  14. FocusNode? focusNode,
  15. MouseCursor? mouseCursor,
  16. bool? autofocus,
  17. MaterialStateProperty<Color?>? overlayColor,
  18. Color? secondaryActiveColor,
  19. double? secondaryTrackValue,
  20. SliderInteraction? allowedInteraction,
})

Implementation

MaterialSliderData({
  super.widgetKey,
  super.value,
  super.onChanged,
  super.onChangeStart,
  super.onChangeEnd,
  super.divisions,
  super.min,
  super.max,
  super.activeColor,
  super.thumbColor,
  this.inactiveColor,
  this.label,
  this.semanticFormatterCallback,
  this.focusNode,
  this.mouseCursor,
  this.autofocus,
  this.overlayColor,
  this.secondaryActiveColor,
  this.secondaryTrackValue,
  this.allowedInteraction,
});