RotaryKnob constructor

const RotaryKnob({
  1. Key? key,
  2. required String label,
  3. required double value,
  4. required String display,
  5. required ValueChanged<double> onChanged,
  6. required VoidCallback onChangeStart,
  7. required VoidCallback onChangeEnd,
  8. Color color = const Color(0xFF00E5FF),
  9. 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,
});