TextBit class Null safety

A simple text bit.

Inheritance

Constructors

TextBit(BuildTree parent, String data, {TextStyleBuilder? tsb})
Creates with string.

Properties

data String
final
hashCode int
The hash code for this object. [...]
read-only, inherited
isInline bool
Returns true if this bit should be rendered inline.
read-only, inherited
next BuildBit?
The next bit in the tree. [...]
read-only, inherited
parent BuildTree?
The container tree.
final, inherited
prev BuildBit?
The previous bit in the tree. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
swallowWhitespace bool?
Controls whether to swallow following whitespaces. [...]
read-only, inherited
tsb TextStyleBuilder
The associated TextStyleBuilder.
final, inherited

Methods

buildBit(void _) String
Builds input into output. [...]
override
copyWith({BuildTree? parent, TextStyleBuilder? tsb}) BuildBit
Creates a copy with the given fields replaced with the new values.
override
detach() bool
Removes self from parent.
inherited
insertAfter(BuildBit another) bool
Inserts self after another in the tree.
inherited
insertBefore(BuildBit another) bool
Inserts self before another in the tree.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

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