Text class

A chunk of text aligned in the given direction within a cell.

Constructors

Text({required String value, required AlignmentDirection direction})
Text.center(String value)
Text.left(String value)
Text.right(String value)

Properties

direction AlignmentDirection
final
hashCode int
The hash code for this object.
no setterinherited
length int
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
render(int width) String
toString() String
A string representation of this object.
inherited

Operators

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