GoogleAppsCardV1TextInput class

A field in which users can enter text.

Supports suggestions and on-change actions. For an example in Google Chat apps, see Text input. Chat apps receive and can process the value of entered text during form input events. For details about working with form inputs, see Receive form data. When you need to collect undefined or abstract data from users, use a text input. To collect defined or enumerated data from users, use the SelectionInput widget. [Google Workspace Add-ons and Chat apps](https://developers.google.com/workspace/extend):

Constructors

GoogleAppsCardV1TextInput({GoogleAppsCardV1Action? autoCompleteAction, String? hintText, GoogleAppsCardV1Suggestions? initialSuggestions, String? label, String? name, GoogleAppsCardV1Action? onChangeAction, String? placeholderText, String? type, String? value})
GoogleAppsCardV1TextInput.fromJson(Map json_)

Properties

autoCompleteAction GoogleAppsCardV1Action?
Specify what action to take when the text input field provides suggestions to users who interact with it.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
hintText String?
Text that appears below the text input field meant to assist users by prompting them to enter a certain value.
getter/setter pair
initialSuggestions GoogleAppsCardV1Suggestions?
Suggested values that users can enter.
getter/setter pair
label String?
The text that appears above the text input field in the user interface.
getter/setter pair
name String?
The name by which the text input is identified in a form input event.
getter/setter pair
onChangeAction GoogleAppsCardV1Action?
What to do when a change occurs in the text input field.
getter/setter pair
placeholderText String?
Text that appears in the text input field when the field is empty.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String?
How a text input field appears in the user interface.
getter/setter pair
value String?
The value entered by a user, returned as part of a form input event.
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