color property

Color? color
final

Color of the series.

Widget build(BuildContext context) {
  return SfCartesianChart(
    series: <ColumnSeries<SalesData, String>>[
      ColumnSeries<SalesData, String>(
        color: Colors.red,
      ),
    ],
  );
}

Implementation

final Color? color;