TextWidget<T> class
An inline widget to be rendered within text paragraph.
- Inheritance
- Object
- TextBit<
TextStyleHtml, InlineSpan> - TextWidget
Constructors
-
TextWidget(TextBits parent,
WidgetPlaceholder< T> child,{PlaceholderAlignment alignment: PlaceholderAlignment.baseline, TextBaseline baseline: TextBaseline.alphabetic} ) - Creates an inline widget.
Properties
- alignment → PlaceholderAlignment
-
See PlaceholderSpan.alignment.
final
- baseline → TextBaseline
-
See PlaceholderSpan.baseline.
final
-
child
→ WidgetPlaceholder<
T> -
The widget to be rendered.
final
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- next → TextBit
-
The next bit in the text tree. [...]
read-only, inherited
- parent → TextBits
-
The container TextBits.
final, inherited
- prev → TextBit
-
The previous bit in the text tree. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- tsb → TextStyleBuilder
-
The associated TextStyleBuilder.
read-only, inherited
Methods
-
compile(
TextStyleHtml _ ) → InlineSpan -
Compiles input into output.
override
-
detach(
) → bool -
Removes self from the parent.
inherited
-
insertAfter(
TextBit another ) → bool -
Inserts self after
another
in the text tree.inherited -
insertBefore(
TextBit another ) → bool -
Inserts self before
another
in the text tree.inherited -
noSuchMethod(
Invocation invocation ) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
replaceWith(
TextBit another ) → bool -
Replaces self with
another
.inherited -
toString(
) → String -
Returns a string representation of this object.
override
Operators
-
operator ==(
Object other ) → bool -
The equality operator. [...]
inherited