JxSlider constructor

const JxSlider({
  1. required String id,
  2. required String label,
  3. required num value,
  4. num min = 0,
  5. num max = 100,
  6. num step = 1,
  7. String? name,
  8. String unit = '',
  9. bool showValue = true,
  10. bool showBounds = false,
  11. String? hint,
  12. bool disabled = false,
  13. ValueChanged<num>? onInput,
  14. String? classes,
  15. Key? key,
})

Implementation

const JxSlider({
  required this.id,
  required this.label,
  required this.value,
  this.min = 0,
  this.max = 100,
  this.step = 1,
  this.name,
  this.unit = '',
  this.showValue = true,
  this.showBounds = false,
  this.hint,
  this.disabled = false,
  this.onInput,
  this.classes,
  super.key,
});