NiceKnob constructor

const NiceKnob({
  1. Key? key,
  2. required double value,
  3. double minValue = 0,
  4. double maxValue = 100,
  5. void onChanged(
    1. double
    )?,
  6. void onChangeEnd(
    1. double
    )?,
  7. double size = 100,
  8. Color? trackColor,
  9. Color? knobColor,
  10. Color? indicatorColor,
  11. bool showValue = true,
  12. String? label,
  13. String valueFormatter(
    1. double
    )?,
  14. int divisions = 0,
  15. bool enabled = true,
})

Implementation

const NiceKnob({
  super.key,
  required this.value,
  this.minValue = 0,
  this.maxValue = 100,
  this.onChanged,
  this.onChangeEnd,
  this.size = 100,
  this.trackColor,
  this.knobColor,
  this.indicatorColor,
  this.showValue = true,
  this.label,
  this.valueFormatter,
  this.divisions = 0,
  this.enabled = true,
});