BloomImage.raw constructor

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

Const constructor for BloomImage with pre-computed attributes and event listeners.

Useful for compile-time constant descriptors with predetermined styles and attributes.

Implementation

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