createPictureRecorder method
Create a PictureRecorder.
This hook enables test bindings to instrument the rendering layer.
This is used by the PaintingContext to create the PictureRecorders used when painting RenderObjects into Pictures passed to PictureLayers.
Implementation
ui.PictureRecorder createPictureRecorder() => ui.PictureRecorder();