color property
Color of the tooltip.
Defaults to null
.
Widget build(BuildContext context) {
return Container(
child: SfCartesianChart(
tooltipBehavior: TooltipBehavior(enable: true, color: Colors.yellow),
));
}
Implementation
final Color? color;