color property
Color of the marker shape.
Defaults to null
.
Widget build(BuildContext context) {
return SfCartesianChart(
series: <SplineSeries<SalesData, num>>[
SplineSeries<SalesData, num>(
markerSettings: MarkerSettings(
isVisible: true,
color: Colors.red
),
),
],
);
}
Implementation
final Color? color;