PersianDatePickerEntryMode 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:
- showDatePicker and showDateRangePicker, which use this to control the initial entry mode of their dialogs.
Values
- calendar → const PersianDatePickerEntryMode
-
User picks a date from calendar grid. Can switch to input by activating a mode button in the dialog.
- input → const PersianDatePickerEntryMode
-
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 PersianDatePickerEntryMode
-
User can only pick a date from calendar grid.
There is no user interface to switch to another mode.
- inputOnly → const PersianDatePickerEntryMode
-
User can only input the date by typing it into a text field.
There is no user interface to switch to another mode.
Properties
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<
PersianDatePickerEntryMode> - A constant List of the values in this enum, in order of their declaration.