toPCanvas method

PCanvas toPCanvas({
  1. PCanvasPainter? painter,
})

Implementation

PCanvas toPCanvas({PCanvasPainter? painter}) {
  var pCanvas = PCanvas(width, height, painter ?? PCanvasPainterDummy(),
      initialPixels: this);
  return pCanvas;
}