is_24_hour_format 1.0.0 copy "is_24_hour_format: ^1.0.0" to clipboard
is_24_hour_format: ^1.0.0 copied to clipboard

Flutter Plug-In for checking whether the device is using 24-hour time.

is_24_hour_format #

This project makes it possible to check whether the device is using 12 or 24 hour time.

Supported Platforms #

  • Android API 16+ (4.1+, the minimum version supported by Flutter).
  • iOS 8.0+ (the minimum version supported by Flutter).

Getting Started #

There is only one getter which is static and can be called anywhere.

//returns bool indicative of whether the device is using 24-hour time format
await Respect24Hour.get24HourFormat;

New valid package name for the pubspec.yaml #

is_24_hour_format, respect_24_hour is discontinued

3
likes
40
pub points
38%
popularity

Publisher

unverified uploader

Flutter Plug-In for checking whether the device is using 24-hour time.

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on is_24_hour_format