color property

Color? color
final

Color of the interactive tooltip.

Used to change the color of the tooltip text.

Defaults to null.

Widget build(BuildContext context) {
   return Container(
       child: SfCartesianChart(
          trackballBehavior: TrackballBehavior(enable: true,
          tooltipSettings: InteractiveTooltip(
            color:Colors.grey)),
       ));
}

Implementation

final Color? color;