Text class

A widget that displays textual content.

Constructors

Text({Input<String>? content, Input<TextFormat>? format, Input<TextStyle>? style})
Creates a new Text. content The text content to be displayed. format How the text content is formatted. style How the text is styled
const
Text.fromMap(Map<String, dynamic> map)
factory

Properties

content → Input<String>?
The text content to be displayed.
final
format → Input<TextFormat>?
How the text content is formatted.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
style → Input<TextStyle>?
How the text is styled
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

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