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:
- showDatePicker and showDateRangePicker, which use this to control the initial entry mode of their dialogs.
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
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]