ScaleWidget constructor
const
ScaleWidget({
- Key? key,
- required double min,
- required double max,
- required double value,
- required Color color,
- required ValueChanged<
double> onChanged, - HorizontalGaugeTheme? theme,
- bool showTicks = true,
- bool showLabels = true,
- int? customTickCount,
- IndicatorBuilder? indicatorBuilder,
- 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,
});