crosshairBehavior property Null safety

CrosshairBehavior crosshairBehavior
final

Customizes the crosshair in chart.

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

Implementation

final CrosshairBehavior crosshairBehavior;