opacity property

  1. @override
double opacity
final

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

Defaults to 1

Widget build(BuildContext context) {
   return Container(
       child: SfCircularChart(
           series: <PieSeries<ChartData, String>>[
             PieSeries<ChartData, String>(
               dataSource: <ChartData>[
                  ChartData('USA', 10),
                  ChartData('China', 11),
                  ChartData('Russia', 9),
                  ChartData('Germany', 10),
               ],
                opacity: 1,
             ),
            ],
       ));
}

Implementation

@override
final double opacity;