shouldRepaintChart method

bool shouldRepaintChart(
  1. covariant ChartPainterBase old
)

Return true if chart-specific state (data, selection, animation value…) has changed. Keep this as cheap as possible — reference equality is fine.

Implementation

bool shouldRepaintChart(covariant ChartPainterBase old) => true;