NiceLinearGauge constructor

const NiceLinearGauge({
  1. Key? key,
  2. required double value,
  3. double min = 0,
  4. double max = 100,
  5. double width = 300,
  6. double height = 50,
  7. Color? color,
  8. String? label,
  9. String formatValue(
    1. double
    )?,
  10. List<NiceGaugeRange>? ranges,
  11. bool showTicks = true,
  12. int tickCount = 5,
  13. 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,
});