borderRadius property
Customizes the corners of the interactive tooltip.
Each corner can be customized with a desired value or a single value.
Defaults to Radius.zero
.
Widget build(BuildContext context) {
return Container(
child: SfCartesianChart(
trackballBehavior: TrackballBehavior(enable: true,
tooltipSettings: InteractiveTooltip(
borderColor:Colors.white,
borderWidth:3,
borderRadius:2)),
));
}
Implementation
final double borderRadius;