RadarChart constructor
RadarChart({})
Radar chart, also known as Spider chart
Implementation
RadarChart({
Key? key,
required this.radius,
required this.length,
this.initialAngle = 0,
this.backgroundColor,
this.borderStroke = 4.0,
this.borderColor,
this.radialStroke,
this.radialColor,
this.radars = const [],
this.vertices,
}) : assert(length >= 3),
assert(radius > 0),
super(
key: key,
child: Stack(children: [
RadarTile(
backgroundColor: backgroundColor,
borderStroke: borderStroke,
borderColor: borderColor,
radialStroke: radialStroke,
radialColor: radialColor,
vertices: vertices,
),
...radars
]),
);