ChartCursorLayer constructor

const ChartCursorLayer({
  1. required CursorBuilder builder,
  2. required Point point,
})

Creates a new instance of ChartCursorLayer with the specified cursor builder and position.

The builder parameter is required and represents the builder for the cursor. The point parameter is required and defines the position of the cursor.

Implementation

const ChartCursorLayer({required this.builder, required this.point});