Bar constructor

const Bar({
  1. required double fromValue,
  2. required double toValue,
  3. required Color color,
  4. Color? highlightColor,
  5. double? width,
  6. BorderRadius borderRadius = BorderRadius.zero,
})

Constructs a new Bar instance.

Implementation

const Bar({
  required this.fromValue,
  required this.toValue,
  required this.color,
  this.highlightColor,
  this.width,
  this.borderRadius = BorderRadius.zero,
});