TextStyleBuilder<T1> class Null safety

A text styling builder.

Constructors

TextStyleBuilder({TextStyleBuilder? parent})
Create a builder.

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
parent TextStyleBuilder?
The parent builder.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

build(BuildContext context) TextStyleHtml
Builds a TextStyleHtml by calling queued callbacks.
enqueue<T2>(TextStyleHtml builder(TextStyleHtml tsh, T2 input), [T2? input]) → void
Enqueues a callback.
hasSameStyleWith(TextStyleBuilder? other) bool
Returns true if this shares same styling with other.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
sub() TextStyleBuilder
Creates a sub-builder.
toString() String
A string representation of this object. [...]
override

Operators

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