lineWidth property

double lineWidth
final

Width of the track line.

Defaults to 1.

late TrackballBehavior trackballBehavior;

void initState() {
  trackballBehavior = TrackballBehavior(
    enable: true,
    lineWidth: 5
  );
  super.initState();
}

Widget build(BuildContext context) {
  return SfCartesianChart(
    trackballBehavior: trackballBehavior
  );
}

Implementation

final double lineWidth;