TextBit class

A simple text bit.

Inheritance

Constructors

TextBit(BuildTree parent, String data)
Creates with string.
const

Properties

data String
final
hashCode int
The hash code for this object.
no setterinherited
hasParent bool
Returns true if this build bit has a parent.
no setterinherited
isInline bool?
Controls whether to render inline.
no setterinherited
next BuildBit?
The next bit in the tree.
no setterinherited
parent BuildTree
The container tree.
final
prev BuildBit?
The previous bit in the tree.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
swallowWhitespace bool?
Controls whether to swallow following whitespaces.
no setterinherited

Methods

copyWith({BuildTree? parent}) BuildBit
Creates a copy with the given fields replaced with the new values.
override
flatten(Flattened f) → void
Flattens this bit.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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