DialKnob constructor
const
DialKnob({
- Key? key,
- required double value,
- required ValueChanged<
double> onChanged, - double min = 0,
- double max = 1,
- double size = 72,
- Widget? child,
- Color? trackColor,
- Color? levelColorStart,
- Color? levelColorEnd,
- Color? levelColor,
- Color? knobColor,
- Color? indicatorColor,
- DragDirection dragDirection = DragDirection.vertical,
Implementation
const DialKnob({
super.key,
required this.value,
required this.onChanged,
this.min = 0,
this.max = 1,
this.size = 72,
this.child,
this.trackColor,
this.levelColorStart,
this.levelColorEnd,
this.levelColor,
this.knobColor,
this.indicatorColor,
this.dragDirection = DragDirection.vertical,
});