BuildMetadata class Null safety
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 associated element.
final
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- maxLines ↔ int
-
The maximum number of lines for the text to span. [...]
read / write
- overflow ↔ TextOverflow
-
How visual overflow should be handled. [...]
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
→ List<
Declaration> -
The styling declarations. [...]
read-only
- tsb → TextStyleBuilder
-
The associated TextStyleBuilder.
final
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 -
A string representation of this object. [...]
override
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited
-
operator [](
String key) → Declaration? -
Gets a styling declaration by
property
. -
operator []=(
String key, String value) → void - Adds an inline style.