BuildMetadata class

A building element metadata.

Constructors

BuildMetadata(Element element, TextStyleBuilder _tsb)
Creates a node.

Properties

buildOps Iterable<BuildOp>
The registered build ops.
read-only
element Element
The associatd element.
final
hashCode int
The hash code for this object. [...]
read-only, inherited
isBlockElement bool
Returns true if node should be rendered as block.
read / write
isNotRenderable bool
Controls whether the node is renderable.
read / write
parentOps Iterable<BuildOp>
The parents' build ops that have BuildOp.onChild.
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
styles Iterable<MapEntry<String, String>>
The inline styles. [...]
read-only

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
register(BuildOp op) → void
Registers a build op.
toString() String
Returns a string representation of this object.
inherited
tsb<T>([TextStyleHtml builder(TextStyleHtml, T), T input]) TextStyleBuilder
Enqueues a text style builder callback. [...]

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited
operator [](String key) String
Gets an inline style value by key.
operator []=(String key, String value) → void
Adds an inline style.