DatePickerEntryMode enum Null safety

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

Constructors

DatePickerEntryMode()
const

Values

calendar → const DatePickerEntryMode

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

DatePickerEntryMode()
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.

DatePickerEntryMode()
calendarOnly → const DatePickerEntryMode

User can only pick a date from calendar grid.

There is no user interface to switch to another mode.

DatePickerEntryMode()
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.

DatePickerEntryMode()

Properties

hashCode int
The hash code for this object.
read-only, inherited
index int
A numeric identifier for the enumerated value.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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.
[calendar, input, calendarOnly, inputOnly]