formatTimeOfDay abstract method

String formatTimeOfDay(
  1. DesignTimeOfDay time, {
  2. bool alwaysUse24HourFormat = false,
  3. bool showSeconds = false,
})

time on the locale's clock ("3:05 PM"; German's "15:05"), on a 24-hour clock when alwaysUse24HourFormat, with its seconds when showSeconds.

Implementation

String formatTimeOfDay(
  DesignTimeOfDay time, {
  bool alwaysUse24HourFormat = false,
  bool showSeconds = false,
});