MeterProps constructor

const MeterProps({
  1. required double value,
  2. double min = 0,
  3. double max = 100,
  4. double? low,
  5. double? high,
  6. double? optimum,
  7. String? label,
  8. bool showValue = true,
  9. String? valueSuffix,
  10. MeterStyleVariant style = MeterStyleVariant.bar,
  11. MeterColorVariant color = MeterColorVariant.primary,
  12. MeterSizeVariant size = MeterSizeVariant.md,
  13. 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,
});