tooltipSeparatorColor property

Color tooltipSeparatorColor
final

Specifies the line color of the tooltip which separates the header and values.

Widget build(BuildContext context) {
  return Scaffold(
    body: Center(
      child: SfTheme(
        data: SfThemeData(
          chartThemeData: SfChartThemeData(
            tooltipSeparatorColor: Colors.black
          )
        ),
        child: SfCartesianChart(
          tooltipBehavior: TooltipBehavior(enable: true),
          series: <ChartSeries<Sample,num>>[
            LineSeries(
              dataSource: chartData,
              xValueMapper: (Sample data, _) => data.x,
              yValueMapper: (Sample data, _) => data.y
            )
          ],
        )
      ),
    )
  );
}

Implementation

final Color tooltipSeparatorColor;