TimePickerEntryMode enum
Interactive input mode of the time picker dialog.
In TimePickerEntryMode.dial mode, a clock dial is displayed and the user taps or drags the time they wish to select. In TimePickerEntryMode.input] mode, TextFields are displayed and the user types in the time they wish to select.
See also:
- showTimePicker, a function that shows a TimePickerDialog and returns the selected time as a Future.
Values
- dial → const TimePickerEntryMode
-
User picks time from a clock dial.
Can switch to input by activating a mode button in the dialog.
- input → const TimePickerEntryMode
-
User can input the time by typing it into text fields.
Can switch to dial by activating a mode button in the dialog.
- dialOnly → const TimePickerEntryMode
-
User can only pick time from a clock dial.
There is no user interface to switch to another mode.
- inputOnly → const TimePickerEntryMode
-
User can only input the time by typing it into text fields.
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
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - 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<
TimePickerEntryMode> - A constant List of the values in this enum, in order of their declaration.