RadarChart constructor

const RadarChart({
  1. Key? key,
  2. required List<int> ticks,
  3. required List<String> features,
  4. required List<List<num>> data,
  5. bool reverseAxis = false,
  6. TextStyle ticksTextStyle = const TextStyle(color: Colors.grey, fontSize: 12),
  7. TextStyle featuresTextStyle = const TextStyle(color: Colors.black, fontSize: 16),
  8. Color outlineColor = Colors.black,
  9. Color axisColor = Colors.grey,
  10. List<Color> graphColors = defaultGraphColors,
  11. int sides = 0,
})

Implementation

const RadarChart({
  Key? key,
  required this.ticks,
  required this.features,
  required this.data,
  this.reverseAxis = false,
  this.ticksTextStyle = const TextStyle(color: Colors.grey, fontSize: 12),
  this.featuresTextStyle = const TextStyle(color: Colors.black, fontSize: 16),
  this.outlineColor = Colors.black,
  this.axisColor = Colors.grey,
  this.graphColors = defaultGraphColors,
  this.sides = 0,
}) : super(key: key);