createGridPaint method

  1. @protected
Paint createGridPaint(
  1. NodeFlowTheme theme
)

Helper to create a base paint object with grid color and thickness.

Implementation

@protected
Paint createGridPaint(NodeFlowTheme theme) {
  return Paint()
    ..color = theme.gridColor
    ..strokeWidth = theme.gridThickness
    ..style = PaintingStyle.stroke;
}