setSnapToGridSize method

void setSnapToGridSize(
  1. double size
)

Set the size of the grid to snap to in the node editor.

Implementation

void setSnapToGridSize(double size) =>
    setConfig(config.copyWith(snapToGridSize: size));