enable property
Toggles the visibility of the trackball.
Defaults to false
.
late TrackballBehavior trackballBehavior;
void initState() {
trackballBehavior = TrackballBehavior(enable: true);
super.initState();
}
Widget build(BuildContext context) {
return SfCartesianChart(
trackballBehavior: trackballBehavior
);
}
Implementation
final bool enable;