LiveSlider constructor

const LiveSlider({
  1. Key? key,
  2. ValueCell<bool> enabled = const ValueCell.value(true),
  3. required MutableCell<double> value,
  4. double? secondaryTrackValue,
  5. void onChangeStart(
    1. double
    )?,
  6. void onChangeEnd(
    1. double
    )?,
  7. double min = 0.0,
  8. double max = 1.0,
  9. int? divisions,
  10. String? label,
  11. Color? activeColor,
  12. Color? inactiveColor,
  13. Color? secondaryActiveColor,
  14. Color? thumbColor,
  15. WidgetStateProperty<Color?>? overlayColor,
  16. MouseCursor? mouseCursor,
  17. String semanticFormatterCallback(
    1. double
    )?,
  18. FocusNode? focusNode,
  19. bool autofocus = false,
  20. SliderInteraction? allowedInteraction,
})

Implementation

const LiveSlider({
  super.key,
  this.enabled = const ValueCell.value(true),
  required this.value,
  this.secondaryTrackValue,
  this.onChangeStart,
  this.onChangeEnd,
  this.min = 0.0,
  this.max = 1.0,
  this.divisions,
  this.label,
  this.activeColor,
  this.inactiveColor,
  this.secondaryActiveColor,
  this.thumbColor,
  this.overlayColor,
  this.mouseCursor,
  this.semanticFormatterCallback,
  this.focusNode,
  this.autofocus = false,
  this.allowedInteraction,
});