LiveSlider constructor
const
LiveSlider({
- Key? key,
- ValueCell<
bool> enabled = const ValueCell.value(true), - required MutableCell<
double> value, - double? secondaryTrackValue,
- void onChangeStart()?,
- void onChangeEnd()?,
- double min = 0.0,
- double max = 1.0,
- int? divisions,
- String? label,
- Color? activeColor,
- Color? inactiveColor,
- Color? secondaryActiveColor,
- Color? thumbColor,
- WidgetStateProperty<
Color?> ? overlayColor, - MouseCursor? mouseCursor,
- String semanticFormatterCallback()?,
- FocusNode? focusNode,
- bool autofocus = false,
- 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,
});