ArcaneMeter.storage constructor

const ArcaneMeter.storage({
  1. required double value,
  2. double max = 100,
  3. String? label = 'Storage',
  4. bool showValue = true,
  5. MeterSize size = MeterSize.md,
  6. Key? key,
})

Implementation

const ArcaneMeter.storage({
  required this.value,
  this.max = 100,
  this.label = 'Storage',
  this.showValue = true,
  this.size = MeterSize.md,
  super.key,
})  : min = 0,
      low = null,
      high = 80,
      optimum = null,
      valueSuffix = '%',
      style = MeterStyle.bar,
      color = MeterColor.adaptive,
      segments = 10;