TimeOfDayFormat enum
Determines how the time picker invoked using showTimePicker formats and lays out the time controls.
The time picker provides layout configurations optimized for each of the enum values.
Values
- HH_colon_mm → const TimeOfDayFormat
-
Corresponds to the ICU 'HH:mm' pattern.
This format uses 24-hour two-digit zero-padded hours. Controls are always laid out horizontally. Hours are separated from minutes by one colon character.
- HH_dot_mm → const TimeOfDayFormat
-
Corresponds to the ICU 'HH.mm' pattern.
This format uses 24-hour two-digit zero-padded hours. Controls are always laid out horizontally. Hours are separated from minutes by one dot character.
- frenchCanadian → const TimeOfDayFormat
-
Corresponds to the ICU "HH 'h' mm" pattern used in Canadian French.
This format uses 24-hour two-digit zero-padded hours. Controls are always laid out horizontally. Hours are separated from minutes by letter 'h'.
- H_colon_mm → const TimeOfDayFormat
-
Corresponds to the ICU 'H:mm' pattern.
This format uses 24-hour non-padded variable-length hours. Controls are always laid out horizontally. Hours are separated from minutes by one colon character.
- h_colon_mm_space_a → const TimeOfDayFormat
-
Corresponds to the ICU 'h:mm a' pattern.
This format uses 12-hour non-padded variable-length hours with a day period. Controls are laid out horizontally in portrait mode. In landscape mode, the day period appears vertically after (consistent with the ambient TextDirection) hour-minute indicator. Hours are separated from minutes by one colon character.
- a_space_h_colon_mm → const TimeOfDayFormat
-
Corresponds to the ICU 'a h:mm' pattern.
This format uses 12-hour non-padded variable-length hours with a day period. Controls are laid out horizontally in portrait mode. In landscape mode, the day period appears vertically before (consistent with the ambient TextDirection) hour-minute indicator. Hours are separated from minutes by one colon character.
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<
TimeOfDayFormat> - A constant List of the values in this enum, in order of their declaration.