BloomNode class sealed

The core descriptor tree root — pure Dart, zero DOM dependency.

Every Bloom component compiles to a BloomNode AST tree first. Zero browser or DOM APIs are imported by framework.dart, allowing descriptor trees to be constructed and evaluated anywhere Dart runs:

  • Browser Mount: mount(node, '#app') in package:bloom_js_native/browser.dart creates real DOM nodes via package:web and sets up fine-grained signals effects.
  • SSR / SSG: renderToHtml(node) in package:bloom_js_native/bloom_js_native.dart evaluates the tree to an HTML string in <1ms with full HTML entity escaping.
  • Testing: Descriptors can be inspected, traversed, and tested in pure Dart VM tests without headless browsers.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited