enableTooltip property Null safety

bool enableTooltip
final

Determines whether to enable tooltip.

Defaults to true.

Widget build(BuildContext context) {
   return Container(
       child: SfCircularChart(
           series: <PieSeries<ChartData, String>>[
             PieSeries<ChartData, String>(
               enableTooltip: true,
             ),
          ],
       )
   );
}

Implementation

@override
final bool enableTooltip;