color property Null safety

Color color
final

Color of the empty data point.

Defaults to Colors.grey.

Widget build(BuildContext context) {
  return SfCartesianChart(
    series: <BubbleSeries<BubbleColors, num>>[
      BubbleSeries<BubbleColors, num>(
        emptyPointSettings: EmptyPointSettings(
          color: Colors.black,
          mode: EmptyPointMode.average
        )
      ),
    ],
  );
}

Implementation

final Color color;