TextStyleResponse class
Properties that determine how the title and content are styled
Constructors
-
TextStyleResponse({required Input<
String> backgroundColor, required Input<String> fontSize, required Input<String> horizontalAlignment, required Input<String> padding, required Input<String> pointerLocation, required Input<String> textColor, required Input<String> verticalAlignment}) -
Creates a new TextStyleResponse.
backgroundColorThe background color as a hex string. "#RRGGBB" or "#RGB"fontSizeFont sizes for both the title and content. The title will still be larger relative to the content.horizontalAlignmentThe horizontal alignment of both the title and contentpaddingThe amount of padding around the widgetpointerLocationThe pointer location for this widget (also sometimes called a "tail")textColorThe text color as a hex string. "#RRGGBB" or "#RGB"verticalAlignmentThe vertical alignment of both the title and contentconst -
TextStyleResponse.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
backgroundColor
→ Input<
String> -
The background color as a hex string. "#RRGGBB" or "#RGB"
final
-
fontSize
→ Input<
String> -
Font sizes for both the title and content. The title will still be larger relative to the content.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
horizontalAlignment
→ Input<
String> -
The horizontal alignment of both the title and content
final
-
padding
→ Input<
String> -
The amount of padding around the widget
final
-
pointerLocation
→ Input<
String> -
The pointer location for this widget (also sometimes called a "tail")
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
textColor
→ Input<
String> -
The text color as a hex string. "#RRGGBB" or "#RGB"
final
-
verticalAlignment
→ Input<
String> -
The vertical alignment of both the title and content
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