MaterialSliderData constructor

const MaterialSliderData({
  1. double? value,
  2. ValueChanged<double>? onChanged,
  3. Key? widgetKey,
  4. bool isEnabled = true,
  5. ValueChanged<double>? onChangeStart,
  6. ValueChanged<double>? onChangeEnd,
  7. double min = kDefaultMin,
  8. double max = kDefaultMax,
  9. int? divisions,
  10. Color? activeColor,
  11. Color? thumbColor,
  12. double? secondaryTrackValue,
  13. String? label,
  14. Color? inactiveColor,
  15. Color? secondaryActiveColor,
  16. WidgetStateProperty<Color>? overlayColor,
  17. MouseCursor? mouseCursor,
  18. SemanticFormatterCallback? semanticFormatterCallback,
  19. FocusNode? focusNode,
  20. bool autofocus = kDefaultAutofocus,
  21. SliderInteraction? allowedInteraction,
  22. EdgeInsetsGeometry? padding,
})

Implementation

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