clear method

  1. @override
void clear({
  1. PStyle? style,
})
override

Clears the canvas.

  • Applies style if provided.

Implementation

@override
void clear({PStyle? style}) {
  _resetCtx();
  super.clear(style: style);
}