canvas property

Canvas get canvas

Implementation

Canvas get canvas {
  assert(
    _canvas != null,
    'Layer is not ready for rendering, call beginRendering first',
  );
  return _canvas!;
}