CellSlider constructor
const
CellSlider({
- Key? key,
- ValueCell<
bool> enabled = const ValueCell.value(true), - required MutableCell<
double> value, - ValueCell<
double?> ? secondaryTrackValue, - ValueCell<
void Function(double)?> ? onChangeStart, - ValueCell<
void Function(double)?> ? onChangeEnd, - ValueCell<
double> min = const ValueCell.value(0.0), - ValueCell<
double> max = const ValueCell.value(1.0), - ValueCell<
int?> ? divisions, - ValueCell<
String?> ? label, - ValueCell<
Color?> ? activeColor, - ValueCell<
Color?> ? inactiveColor, - ValueCell<
Color?> ? secondaryActiveColor, - ValueCell<
Color?> ? thumbColor, - ValueCell<
WidgetStateProperty< ? overlayColor,Color?> ?> - ValueCell<
MouseCursor?> ? mouseCursor, - ValueCell<
String Function(double)?> ? semanticFormatterCallback, - ValueCell<
FocusNode?> ? focusNode, - ValueCell<
bool> autofocus = const ValueCell.value(false), - ValueCell<
SliderInteraction?> ? allowedInteraction,
Implementation
const CellSlider({
super.key,
this.enabled = const ValueCell.value(true),
required this.value,
this.secondaryTrackValue,
this.onChangeStart,
this.onChangeEnd,
this.min = const ValueCell.value(0.0),
this.max = const ValueCell.value(1.0),
this.divisions,
this.label,
this.activeColor,
this.inactiveColor,
this.secondaryActiveColor,
this.thumbColor,
this.overlayColor,
this.mouseCursor,
this.semanticFormatterCallback,
this.focusNode,
this.autofocus = const ValueCell.value(false),
this.allowedInteraction,
});