DurationPickerEntryMode enum
Interactive input mode of the time picker dialog.
In DurationPickerEntryMode.dial mode, a clock dial is displayed and the user taps or drags the time they wish to select. In DurationPickerEntryMode.input] mode, TextFields are displayed and the user types in the time they wish to select.
See also:
- showDurationPicker, a function that shows a DurationPickerDialog and returns the selected time as a Future.
Values
- dial → const DurationPickerEntryMode
-
User picks time from a clock dial.
Can switch to input by activating a mode button in the dialog.
- input → const DurationPickerEntryMode
-
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 DurationPickerEntryMode
-
User can only pick time from a clock dial.
There is no user interface to switch to another mode.
- inputOnly → const DurationPickerEntryMode
-
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<
DurationPickerEntryMode> - A constant List of the values in this enum, in order of their declaration.