DatePickerEntryMode enum

Mode of date entry method for the date picker dialog.

In calendar mode, a calendar grid is displayed and the user taps the day they wish to select. In input mode, a TextField is displayed and the user types in the date they wish to select.

calendarOnly and inputOnly are variants of the above that don't allow the user to change to the mode.

See also:

Inheritance

Values

calendar → const DatePickerEntryMode

User picks a date from calendar grid. Can switch to input by activating a mode button in the dialog.

input → const DatePickerEntryMode

User can input the date by typing it into a text field.

Can switch to calendar by activating a mode button in the dialog.

calendarOnly → const DatePickerEntryMode

User can only pick a date from calendar grid.

There is no user interface to switch to another mode.

inputOnly → const DatePickerEntryMode

User can only input the date by typing it into a text field.

There is no user interface to switch to another mode.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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

Constants

values → const List<DatePickerEntryMode>
A constant List of the values in this enum, in order of their declaration.