name property

String? name

Name of the series. The name will be displayed in legend item by default. If name is not specified for the series, then the current series index with ‘series’ text prefix will be considered as series name.

Widget build(BuildContext context) {
  return SfCartesianChart(
    series: <BubbleSeries<BubbleColors, num>>[
      BubbleSeries<BubbleColors, num>(
        name: 'Bubble Series'


final String? name;