TextScreenObject class final

An object that manages offscreen rendering a text source.

Inheritance

Constructors

TextScreenObject()

Properties

color ↔ dynamic
Gets the text color in ARGB format (0xAARRGGBB).
getter/setter pair
elements Map<String, String>
A map of element-specific properties.
getter/setter pairoverride
fontSize double
Gets the text size.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
horizontalAlignment HorizontalAlignment
The horizontal alignment of this object within its parent.
getter/setter pairinherited
id String
The unique identifier of this screen object.
finalinherited
isVisible bool
Whether this object is visible.
getter/setter pairinherited
layoutMargin ScreenObjectEdgeInsets
The margin applied around this object during layout.
getter/setter pairinherited
parent ScreenObjectContainer?
The parent container of this object, if any.
getter/setter pairinherited
root ScreenObject?
Returns the root object of the hierarchy.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shouldInvalidateLayout bool
Whether this object requires a layout update.
no setterinherited
size ScreenObjectSize
Returns the frame rectangle of this object.
getter/setter pairinherited
type String
The logical type of this screen object.
final
value String
Gets the text string.
getter/setter pair
verticalAlignment VerticalAlignment
The vertical alignment of this object within its parent.
getter/setter pairinherited

Methods

invalidateLayout() → void
Invalidates the current layout and propagates the change to parents.
inherited
layout(ScreenRenderer renderer) → void
Performs layout for this object using the given renderer.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
snapshot() ScreenObjectSnapshot
Creates a snapshot representing the current state of this object.
inherited
toString() String
A string representation of this object.
inherited

Operators

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