recorder property
The recorder that is being used by this PaintingContext to record interactions with the Canvas.
It's fragile to hold a reference to the recorder returned by this getter as it can change at any time.
Implementation
ui.PictureRecorder get recorder {
if (_recorder == null) {
_startRecording();
}
assert(_currentLayer != null);
return _recorder!;
}