UGaugeStyle constructor

const UGaugeStyle({
  1. Color? trackColor,
  2. Color? fillColor,
  3. Color? needleColor,
  4. Color? tickColor,
  5. Color? labelColor,
  6. Color? valueColor,
  7. double? thickness,
  8. bool showTicks = true,
  9. bool showLabels = true,
  10. bool showValue = true,
  11. bool animate = true,
  12. Duration animationDuration = const Duration(milliseconds: 1100),
  13. Curve animationCurve = Curves.easeOutCubic,
})

Implementation

const UGaugeStyle({
  this.trackColor,
  this.fillColor,
  this.needleColor,
  this.tickColor,
  this.labelColor,
  this.valueColor,
  this.thickness,
  this.showTicks = true,
  this.showLabels = true,
  this.showValue = true,
  this.animate = true,
  this.animationDuration = const Duration(milliseconds: 1100),
  this.animationCurve = Curves.easeOutCubic,
});