Link.raw constructor

const Link.raw({
  1. String? text,
  2. String? className,
  3. String? style,
  4. Map<String, String>? attrs,
  5. Map<String, BloomEventHandler>? on,
  6. List<BloomNode> children = const [],
  7. PrefetchMode prefetch = PrefetchMode.off,
})

Creates a const Link descriptor without dynamic event bindings.

Implementation

const Link.raw({
  super.text,
  super.className,
  super.style,
  super.attrs,
  super.on,
  super.children = const [],
  this.prefetch = PrefetchMode.off,
}) : super('a');