enable property

bool enable
final

Toggles the visibility of the trackball.

Defaults to false.

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

Implementation

final bool enable;