opacity property Null safety

double opacity
final, inherited

Opacity of the series.

The value ranges from 0 to 1.

Defaults to 1

Widget build(BuildContext context) {
   return Container(
       child: SfFunnelChart(
           series: FunnelSeries<ChartData, String>(
              opacity: 0.5,
            )
       ));
}

Implementation

@override
final double opacity;