gridSizeViewerElement static method

ViewerElement<num> gridSizeViewerElement(
  1. num gridSize, [
  2. Color? color
])

Implementation

static ViewerElement<num> gridSizeViewerElement(num gridSize,
    [Color? color]) {
  return ViewerElement<num>(gridSize, color, valueCopier: (value) => value);
}