MeterProps constructor
const
MeterProps({
- required double value,
- double min = 0,
- double max = 100,
- double? low,
- double? high,
- double? optimum,
- String? label,
- bool showValue = true,
- String? valueSuffix,
- MeterStyleVariant style = MeterStyleVariant.bar,
- MeterColorVariant color = MeterColorVariant.primary,
- MeterSizeVariant size = MeterSizeVariant.md,
- int segments = 10,
Implementation
const MeterProps({
required this.value,
this.min = 0,
this.max = 100,
this.low,
this.high,
this.optimum,
this.label,
this.showValue = true,
this.valueSuffix,
this.style = MeterStyleVariant.bar,
this.color = MeterColorVariant.primary,
this.size = MeterSizeVariant.md,
this.segments = 10,
});