GoogleAppsCardV1DateTimePicker class
Lets users input a date, a time, or both a date and a time.
For an example in Google Chat apps, see Let a user pick a date and time. Users can input text or use the picker to select dates and times. If users input an invalid date or time, the picker shows an error that prompts users to input the information correctly. [Google Workspace Add-ons and Chat apps](https://developers.google.com/workspace/extend):
Constructors
- GoogleAppsCardV1DateTimePicker({String? label, String? name, GoogleAppsCardV1Action? onChangeAction, int? timezoneOffsetDate, String? type, String? valueMsEpoch})
- GoogleAppsCardV1DateTimePicker.fromJson(Map json_)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- label ↔ String?
-
The text that prompts users to input a date, a time, or a date and time.
getter/setter pair
- name ↔ String?
-
The name by which the
DateTimePicker
is identified in a form input event.getter/setter pair - onChangeAction ↔ GoogleAppsCardV1Action?
-
Triggered when the user clicks Save or Clear from the
DateTimePicker
interface.getter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timezoneOffsetDate ↔ int?
-
The number representing the time zone offset from UTC, in minutes.
getter/setter pair
- type ↔ String?
-
Whether the widget supports inputting a date, a time, or the date and
time.
Possible string values are:
getter/setter pair
- valueMsEpoch ↔ String?
-
The default value displayed in the widget, in milliseconds since
Unix epoch time.
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