SmoothGauge constructor Null safety

const SmoothGauge(
  1. {required double value,
  2. double size = 80.0,
  3. required dynamic color,
  4. dynamic backgroundColor,
  5. bool circular = true,
  6. double width = 100.0}
)

Implementation

const SmoothGauge({
  required this.value,
  this.size = 80.0,
  required this.color,
  this.backgroundColor,
  this.circular = true,
  this.width = 100.0,
});