BloomPicture.raw constructor

const BloomPicture.raw({
  1. String? className,
  2. String? style,
  3. Map<String, String>? attrs,
  4. List<BloomNode> children = const [],
})

Const constructor for <picture> elements.

Useful for compile-time constant descriptors with pre-computed child nodes.

Implementation

const BloomPicture.raw({
  super.className,
  super.style,
  super.attrs,
  super.children = const [],
}) : super('picture');