color property
Color of the series.
If no color is specified, then the series will be rendered with the default palette color.
Defaults to null
Widget build(BuildContext context) {
return Container(
child: SfCartesianChart(
series: <BubbleSeries<BubbleColors, num>>[
BubbleSeries<BubbleColors, num>(
color: const Color.fromRGBO(255, 0, 102, 1),
),
],
));
}
Implementation
final Color? color;