imageElement function
Implementation
web.HTMLElement imageElement(String source, int width, int height,
[void Function()? onClick]) =>
web.HTMLImageElement()
..width = width
..height = height
..onclick = onClick?.toJS
..src = source;