AbstractHTMLDisplay constructor
AbstractHTMLDisplay({
- required Element container,
Create the canvas in the container
Implementation
AbstractHTMLDisplay({required this.container})
: canvas = document.createElement('canvas') as CanvasElement {
container.append(canvas);
}