shouldAlwaysShow property
final
Enables or disables the crosshair. By default, the crosshair will be hidden on touch. To avoid this, set this property to true.
Defaults to false
Widget build(BuildContext context) {
return Container(
child: SfCartesianChart(
crosshairBehavior: CrosshairBehavior(enable: true, shouldAlwaysShow: true),
));
}
Implementation
final bool shouldAlwaysShow