NiceLinearGauge constructor
const
NiceLinearGauge({ - Key? key,
- required double value,
- double min = 0,
- double max = 100,
- double width = 300,
- double height = 50,
- Color? color,
- String? label,
- String formatValue(
- double
)?,
- List<NiceGaugeRange>? ranges,
- bool showTicks = true,
- int tickCount = 5,
- Axis orientation = Axis.horizontal,
})
Implementation
const NiceLinearGauge({
super.key,
required this.value,
this.min = 0,
this.max = 100,
this.width = 300,
this.height = 50,
this.color,
this.label,
this.formatValue,
this.ranges,
this.showTicks = true,
this.tickCount = 5,
this.orientation = Axis.horizontal,
});