timeOfDayFormat method
- bool alwaysUse24HourFormat = false,
override
The format used to lay out the time picker.
The documentation for TimeOfDayFormat enum values provides details on each supported layout.
Implementation
@override
TimeOfDayFormat timeOfDayFormat({ bool alwaysUse24HourFormat = false }) {
return alwaysUse24HourFormat
? TimeOfDayFormat.HH_colon_mm
: TimeOfDayFormat.h_colon_mm_space_a;
}