Skip to main content

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

A Flutter plugin to get the device's IANA timezone name.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add timezone_provider

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

dependencies:
  timezone_provider: ^1.0.0

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:timezone_provider/timezone_provider.dart';
2
likes
150
points
158
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A Flutter plugin to get the device's IANA timezone name.

Repository (GitHub)
View/report issues

License

BSD-3-Clause (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on timezone_provider

Packages that implement timezone_provider