RadialPerformanceChart constructor

const RadialPerformanceChart({
  1. Key? key,
  2. required double radius,
  3. required List<SegmentData> segments,
  4. double centerCircleRadius = 0.25,
  5. double gapPercentage = 0.005,
  6. double segmentHeight = 1.5,
  7. Color backgroundColor = const Color.fromARGB(57, 23, 104, 159),
})

Creates a RadialPerformanceChart with the specified properties.

The radius and segments are required, while other properties have default values.

Implementation

const RadialPerformanceChart({
  super.key,
  required this.radius,
  required this.segments,
  this.centerCircleRadius = 0.25,
  this.gapPercentage = 0.005,
  this.segmentHeight = 1.5,
  this.backgroundColor = const Color.fromARGB(57, 23, 104, 159),
});