paint abstract method

  1. @override
void paint(
  1. Canvas canvas,
  2. Size size,
  3. EpochToX epochToX,
  4. QuoteToY quoteToY,
  5. AnimationInfo animationInfo,
  6. ChartConfig chartConfig,
  7. ChartTheme chartTheme,
  8. GetDrawingState getDrawingState,
)
override

Paints the drawing tool on the chart.

Whatever that is painted here it will be in the chart's excluding Y-axis area.

Implementation

@override
void paint(
  Canvas canvas,
  Size size,
  EpochToX epochToX,
  QuoteToY quoteToY,
  AnimationInfo animationInfo,
  ChartConfig chartConfig,
  ChartTheme chartTheme,
  // TODO(NA): remove this and use instance state getter directly.
  GetDrawingState getDrawingState,
);