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