paintGrid abstract method

  1. @protected
void paintGrid(
  1. Canvas canvas,
  2. NodeFlowTheme theme,
  3. ({double bottom, double left, double right, double top}) gridArea
)

Renders the style-specific grid pattern.

Each grid style implements this method to draw its specific pattern (lines, dots, crosses, etc.) using the pre-calculated gridArea.

Parameters:

  • canvas: The canvas to paint on
  • theme: Theme containing grid configuration
  • gridArea: Pre-calculated grid-aligned area covering the visible region

Implementation

@protected
void paintGrid(
  Canvas canvas,
  NodeFlowTheme theme,
  ({double left, double top, double right, double bottom}) gridArea,
);