SliderMenuItem constructor

const SliderMenuItem({
  1. Key? key,
  2. required Widget title,
  3. required double value,
  4. required ValueSetter<double> onChanged,
  5. ValueChanged<double>? onChangeStart,
  6. ValueChanged<double>? onChangeEnd,
  7. double min = 0.0,
  8. double max = 1.0,
  9. int? divisions,
  10. String? label,
  11. MouseCursor? mouseCursor,
  12. Color? activeColor,
  13. Color? inactiveColor,
  14. Color? thumbColor,
  15. SemanticFormatterCallback? semanticFormatterCallback,
  16. FocusNode? focusNode,
  17. bool autofocus = false,
  18. bool adaptive = false,
})

Implementation

const SliderMenuItem({
  Key? key,
  required this.title,
  required this.value,
  required this.onChanged,
  this.onChangeStart,
  this.onChangeEnd,
  this.min = 0.0,
  this.max = 1.0,
  this.divisions,
  this.label,
  this.mouseCursor,
  this.activeColor,
  this.inactiveColor,
  this.thumbColor,
  this.semanticFormatterCallback,
  this.focusNode,
  this.autofocus = false,
  this.adaptive = false
}) : super(key: key);