borderColor property

Color borderColor
final

Border color of the tooltip.

Defaults to Colors.transparent

Widget build(BuildContext context) {
   return Container(
       child: SfCartesianChart(
          tooltipBehavior: TooltipBehavior(enable: true, borderColor: Colors.red),
       ));
}

Implementation

final Color borderColor