gridForView property
MirrorGrid
get
gridForView
Package-internal: the rendering view needs the mutable MirrorGrid to
wire CustomPaint(repaint: ...) and read cells. External consumers
should use grid instead — mutating the returned MirrorGrid will
corrupt the engine's mirror. (Cannot use @internal here because this
lives in a public-library element; see follow-up note in 2W findings
about moving the engine to lib/src/ to fix the annotation.)
Implementation
MirrorGrid get gridForView => _grid;