A block of text (probably a widget's State object) that includes a ProseTextLayout somewhere within it.
The ProseTextBlock interface provides clients with access to the internal ProseTextLayout, no matter how deeply that text layout might be buried within this block's widget tree.
For example, a ProseTextBlock might include an animated builder, or stream builder that wraps the actual text layout. But you still want to query details about the text layout. Rather than re-declare every ProseTextLayout method and forward the calls, a ProseTextBlock provides access to the inner ProseTextLayout, directly.
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- textLayout → ProseTextLayout
-
Returns the ProseTextLayout that sits within this text block.
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited