Canvas.raw constructor

const Canvas.raw({
  1. String? className,
  2. String? style,
  3. Map<String, String>? attrs,
  4. Map<String, BloomEventHandler>? on,
})

Const constructor for <canvas> without dimension shorthands.

Implementation

const Canvas.raw({super.className, super.style, super.attrs, super.on}) : super('canvas');