palette property
Color palette for the data points in the chart series.
If the series color is not specified, then the series will be rendered with appropriate palette color.
Ten colors are available by default.
Widget build(BuildContext context) {
return Container(
child: SfFunnelChart(
palette: <Color>[Colors.red, Colors.green]
)
);
}
Implementation
final List<Color>? palette;