InteractiveSpiderChart constructor

const InteractiveSpiderChart({
  1. Key? key,
  2. List<String>? labels,
  3. List<double?>? data,
  4. double maxValue = 100,
  5. SpiderChartThemeData theme = const SpiderChartThemeData(),
  6. bool showLabels = true,
  7. int? initialSelectedIndex,
  8. Size size = const Size(350, 350),
})

Implementation

const InteractiveSpiderChart({
  super.key,
  List<String>? labels,
  List<double?>? data,
  this.maxValue = 100,
  this.theme = const SpiderChartThemeData(),
  this.showLabels = true,
  this.initialSelectedIndex,
  this.size = const Size(350, 350),
})  : labels = labels ?? const [],
      data = data ?? const [];