Slider constructor

const Slider({
  1. required double value,
  2. double min = 0,
  3. double max = 100,
  4. String? label,
  5. bool showValue = true,
  6. String? valuePrefix,
  7. String? valueSuffix,
  8. String trackColor = '#27272A',
  9. String activeColor = '#10B981',
})

Implementation

const Slider({
  required this.value,
  this.min = 0,
  this.max = 100,
  this.label,
  this.showValue = true,
  this.valuePrefix,
  this.valueSuffix,
  this.trackColor = '#27272A',
  this.activeColor = '#10B981',
});