lineWidth property

double lineWidth
final

Width of the crosshair line.

Defaults to 1

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

Implementation

final double lineWidth;