borderWidth property

double borderWidth
final

Border width of the tooltip.

Defaults to 0.

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

Implementation

final double borderWidth;