opacity property

double opacity
final

Opacity of the tooltip.

The value ranges from 0 to 1.

Defaults to 1.

Widget build(BuildContext context) {
   return Container(
       child: SfCartesianChart(
          tooltipBehavior: TooltipBehavior(enable: true, opacity: 0.7),
       ));
}

Implementation

final double opacity;