LineTouchResponse constructor

const LineTouchResponse(
  1. List<TouchLineBarSpot>? lineBarSpots
)

If touch happens, LineChart processes it internally and passes out a list of lineBarSpots it gives you information about the touched spot. They are sorted based on their distance to the touch event

Implementation

const LineTouchResponse(this.lineBarSpots);