title property
Customizes the legend title.
Widget build(BuildContext context) {
return Container(
child: SfCartesianChart(
legend: Legend(
isVisible: true,
title: ChartTitle(
text: 'Countries'
))
));
}
Implementation
final LegendTitle title;