getRadarStyle method
Get the radar drawing style of the radar chart according to the specified index.
Implementation
@override
RadarChartStyle getRadarStyle(int radarIndex) {
if (radarIndex >= RadarChart.defaultRadarChartStyles.length) {
return const RadarChartStyle(
strokeColor: Color(0xff0984f9),
areaColor: Color(0x1a2196F3),
dotted: true,
dotColor: Color(0xff0984f9),
);
}
return RadarChart.defaultRadarChartStyles[radarIndex];
}