GoogleAppsCardV1Widget class
Each card is made up of widgets.
A widget is a composite object that can represent one of text, images, buttons, and other object types.
Constructors
- GoogleAppsCardV1Widget({GoogleAppsCardV1ButtonList? buttonList, GoogleAppsCardV1Columns? columns, GoogleAppsCardV1DateTimePicker? dateTimePicker, GoogleAppsCardV1DecoratedText? decoratedText, GoogleAppsCardV1Divider? divider, GoogleAppsCardV1Grid? grid, String? horizontalAlignment, GoogleAppsCardV1Image? image, GoogleAppsCardV1SelectionInput? selectionInput, GoogleAppsCardV1TextInput? textInput, GoogleAppsCardV1TextParagraph? textParagraph})
- GoogleAppsCardV1Widget.fromJson(Map json_)
Properties
-
A list of buttons.
getter/setter pair
- columns ↔ GoogleAppsCardV1Columns?
-
Displays up to 2 columns.
getter/setter pair
- dateTimePicker ↔ GoogleAppsCardV1DateTimePicker?
-
Displays a widget that lets users input a date, time, or date and time.
getter/setter pair
- decoratedText ↔ GoogleAppsCardV1DecoratedText?
-
Displays a decorated text item.
getter/setter pair
- divider ↔ GoogleAppsCardV1Divider?
-
Displays a horizontal line divider between widgets.
getter/setter pair
- grid ↔ GoogleAppsCardV1Grid?
-
Displays a grid with a collection of items.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- horizontalAlignment ↔ String?
-
Specifies whether widgets align to the left, right, or center of a column.
Possible string values are:
getter/setter pair
- image ↔ GoogleAppsCardV1Image?
-
Displays an image.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selectionInput ↔ GoogleAppsCardV1SelectionInput?
-
Displays a selection control that lets users select items.
getter/setter pair
- textInput ↔ GoogleAppsCardV1TextInput?
-
Displays a text box that users can type into.
getter/setter pair
- textParagraph ↔ GoogleAppsCardV1TextParagraph?
-
Displays a text paragraph.
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