dg76 / respect_24_hour

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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

License:MIT License


Languages

Language:Ruby 46.1%Language:Dart 21.5%Language:Swift 14.5%Language:Java 13.3%Language:Objective-C 4.7%