TextResponse class
A widget that displays textual content.
Constructors
-
TextResponse({required Input<
String> content, required Input<String> format, required Input<TextStyleResponse> style}) -
Creates a new TextResponse.
contentThe text content to be displayed.formatHow the text content is formatted.styleHow the text is styledconst -
TextResponse.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
content
→ Input<
String> -
The text content to be displayed.
final
-
format
→ Input<
String> -
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<
TextStyleResponse> -
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