FlSpot constructor

const FlSpot(
  1. double x,
  2. double y
)

x determines cartesian (axis based) horizontally position 0 means most left point of the chart

y determines cartesian (axis based) vertically position 0 means most bottom point of the chart

Implementation

const FlSpot(this.x, this.y);