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:

Constants

calendar → const DatePickerEntryMode

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

const DatePickerEntryMode(0)
calendarOnly → const DatePickerEntryMode

User can only pick a date from calendar grid.

There is no user interface to switch to another mode.

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

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

const DatePickerEntryMode(3)
values → const List<DatePickerEntryMode>

A constant List of the values in this enum, in order of their declaration.

const List<DatePickerEntryMode>

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
index int

The integer index of this enum.

final
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. [...]
override

Operators

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