Canvas constructor
Canvas({})
Creates a <canvas> element descriptor with width and height dimension shorthands.
Implementation
Canvas({int? width, int? height, super.className, super.style, Map<String, String>? attrs, super.on})
: super('canvas', attrs: _mergeAttrs(attrs, {if (width != null) 'width': '$width', if (height != null) 'height': '$height'}));