RotaryKnob constructor
const
RotaryKnob({
- Key? key,
- required String label,
- required double value,
- required String display,
- required ValueChanged<
double> onChanged, - required VoidCallback onChangeStart,
- required VoidCallback onChangeEnd,
- Color color = const Color(0xFF00E5FF),
- double size = 100.0,
Creates a knob showing value with display as the centre readout.
Implementation
const RotaryKnob({
super.key,
required this.label,
required this.value,
required this.display,
required this.onChanged,
required this.onChangeStart,
required this.onChangeEnd,
this.color = const Color(0xFF00E5FF),
this.size = 100.0,
});