header property

String? header
final

Header of the tooltip. By default, the series name will be displayed in the header.

Widget build(BuildContext context) {
   return Container(
       child: SfCartesianChart(
          tooltipBehavior: TooltipBehavior(enable: true, header: 'Default'),
       ));
}

Implementation

final String? header;