borderWidth property
Border width of the interactive tooltip.
Used to change the stroke width of the axis tooltip.
Defaults to 0
.
Widget build(BuildContext context) {
return Container(
child: SfCartesianChart(
trackballBehavior: TrackballBehavior(enable: true,
tooltipSettings: InteractiveTooltip(
borderColor:Colors.white,
borderWidth:2)),
));
}
Implementation
final double borderWidth;