shadowColor property

Color? shadowColor
final

Color of the tooltip shadow.

Defaults to null.

late TooltipBehavior tooltipBehavior;

void initState() {
  tooltipBehavior = TooltipBehavior(
    enable: true,
    shadowColor: Colors.green
  );
  super.initState();
}

Widget build(BuildContext context) {
  return SfCartesianChart(
    tooltipBehavior: tooltipBehavior
  );
}

Implementation

final Color? shadowColor;