dispose method

void dispose()

Releases the canvas-owned backing screen buffer.

Call this after render or draw when the canvas is a temporary composition surface. Cells supplied through setCell remain borrowed; only cells owned by this canvas are released.

Implementation

void dispose() => _scr.dispose();