ChartItem constructor

const ChartItem({
  1. required double x,
})

Creates a ChartItem with the specified x-coordinate.

Implementation

const ChartItem({required this.x});