opacity property

double opacity
final

Opacity of the series. The value ranges from 0 to 1.

Defaults to 1

Widget build(BuildContext context) {
   return Container(
       child: SfCartesianChart(
           series: <BarSeries<SalesData, num>>[
               BarSeries<SalesData, num>(
                     opacity: 1
               ),
             ],
       ));
}

Implementation

final double opacity