title property

LegendTitle? title
final

Customizes the legend title.

Widget build(BuildContext context) {
  return SfCartesianChart(
    legend: Legend(
      isVisible: true,
      title: LegendTitle(
        text: 'Countries'
      )
    )
  );
}

Implementation

final LegendTitle? title;