color property

Color color
final

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