alwaysUse24HourFormat property

bool alwaysUse24HourFormat
final

Whether to use 24-hour format when formatting time.

The behavior of this flag is different across platforms:

  • On Android this flag is reported directly from the user settings called "Use 24-hour format". It applies to any locale used by the application, whether it is the system-wide locale, or the custom locale set by the application.
  • On iOS this flag is set to true when the user setting called "24-Hour Time" is set or the system-wide locale's default uses 24-hour formatting.

Implementation

final bool alwaysUse24HourFormat;