text property
final
Legend title text.
Defaults to ‘’
Widget build(BuildContext context) {
return Container(
child: SfCartesianChart(
legend: Legend(
isVisible: true,
title: ChartTitle(
text: 'Countries'
))
));
}
Implementation
final String text