Point constructor

const Point({
  1. required double x,
  2. required double y,
})

Creates a new Point instance.

The x parameter is inherited from ChartItem. The y parameter is the y-coordinate of the point.

Implementation

const Point({required super.x, required this.y});