GoogleAppsCardV1DecoratedText class

A widget that displays text with optional decorations such as a label above or below the text, an icon in front of the text, a selection widget, or a button after the text.

For an example in Google Chat apps, see Decorated text. [Google Workspace Add-ons and Chat apps](https://developers.google.com/workspace/extend):

Properties

bottomLabel String?
The text that appears below text.
getter/setter pair
button GoogleAppsCardV1Button?
A button that a user can click to trigger an action.
getter/setter pair
endIcon GoogleAppsCardV1Icon?
An icon displayed after the text.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
icon GoogleAppsCardV1Icon?
Deprecated in favor of startIcon.
getter/setter pair
onClick GoogleAppsCardV1OnClick?
This action is triggered when users click topLabel or bottomLabel.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startIcon GoogleAppsCardV1Icon?
The icon displayed in front of the text.
getter/setter pair
switchControl GoogleAppsCardV1SwitchControl?
A switch widget that a user can click to change its state and trigger an action.
getter/setter pair
text String?
The primary text.
getter/setter pair
topLabel String?
The text that appears above text.
getter/setter pair
wrapText bool?
The wrap text setting.
getter/setter pair

Methods

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

Operators

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