WidgetBit class Null safety

A widget bit.

Inheritance

Constructors

WidgetBit.block(BuildTree parent, Widget child, {TextStyleBuilder? tsb})
Creates a block widget.
factory
WidgetBit.inline(BuildTree parent, Widget child, {PlaceholderAlignment alignment = PlaceholderAlignment.bottom, TextBaseline baseline = TextBaseline.alphabetic, TextStyleBuilder? tsb})
Creates an inline widget.
factory

Properties

alignment PlaceholderAlignment?
See PlaceholderSpan.alignment.
final
baseline TextBaseline?
See PlaceholderSpan.baseline.
final
child WidgetPlaceholder
The widget to be rendered.
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, override
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 _) → dynamic
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