ScaleWidget constructor

const ScaleWidget({
  1. Key? key,
  2. required double min,
  3. required double max,
  4. required double value,
  5. required Color color,
  6. required ValueChanged<double> onChanged,
  7. HorizontalGaugeTheme? theme,
  8. bool showTicks = true,
  9. bool showLabels = true,
  10. int? customTickCount,
  11. IndicatorBuilder? indicatorBuilder,
  12. TickBuilder? tickBuilder,
})

Implementation

const ScaleWidget({
  super.key,
  required this.min,
  required this.max,
  required this.value,
  required this.color,
  required this.onChanged,
  this.theme,
  this.showTicks = true,
  this.showLabels = true,
  this.customTickCount,
  this.indicatorBuilder,
  this.tickBuilder,
});