country_to_timezone 0.1.2 copy "country_to_timezone: ^0.1.2" to clipboard
country_to_timezone: ^0.1.2 copied to clipboard

Converts a ISO 3166-1 alpha-2 code to a timezone. (e.g. 'DE' to 'Europe/Berlin')

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add country_to_timezone

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  country_to_timezone: ^0.1.2

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:country_to_timezone/country_to_timezone.dart';
1
likes
150
points
38
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Converts a ISO 3166-1 alpha-2 code to a timezone. (e.g. 'DE' to 'Europe/Berlin')

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

collection, flutter

More

Packages that depend on country_to_timezone