createPCanvas method

  1. @override
PCanvas createPCanvas(
  1. int width,
  2. int height,
  3. PCanvasPainter painter, {
  4. PCanvasPixels? initialPixels,
})
override

Implementation

@override
PCanvas createPCanvas(int width, int height, PCanvasPainter painter,
    {PCanvasPixels? initialPixels}) {
  var pCanvasWidget = PCanvasWidget(painter);
  return pCanvasWidget.pCanvas;
}