BuildBit<InputType, OutputType> class
Null safety
A piece of HTML being built.
See buildBit for supported input and output types.
- Implementers
- Annotations
Constructors
- BuildBit(BuildTree? parent, TextStyleBuilder tsb)
-
Creates a build bit.
const
Properties
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- isInline → bool
-
Returns true if this bit should be rendered inline.
read-only
- next → BuildBit?
-
The next bit in the tree. [...]
read-only
- parent → BuildTree?
-
The container tree.
final
- prev → BuildBit?
-
The previous bit in the tree. [...]
read-only
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- swallowWhitespace → bool?
-
Controls whether to swallow following whitespaces. [...]
read-only
- tsb → TextStyleBuilder
-
The associated TextStyleBuilder.
final
Methods
-
buildBit(
InputType input) → OutputType - Builds input into output. [...]
-
copyWith(
{BuildTree? parent, TextStyleBuilder? tsb}) → BuildBit - Creates a copy with the given fields replaced with the new values.
-
detach(
) → bool - Removes self from parent.
-
insertAfter(
BuildBit another) → bool -
Inserts self after
another
in the tree. -
insertBefore(
BuildBit another) → bool -
Inserts self before
another
in the tree. -
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