Element.canvas constructor Null safety
Creates a new <canvas> element.
This is equivalent to calling new Element.tag('canvas').
Implementation
factory Element.canvas() => new CanvasElement();
Creates a new <canvas> element.
This is equivalent to calling new Element.tag('canvas').
factory Element.canvas() => new CanvasElement();