enable property

bool enable
final

Toggles the visibility of the tooltip.

Defaults to false.

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

Implementation

final bool enable;