Skip to main content

timezone_provider 1.1.0 copy "timezone_provider: ^1.1.0" to clipboard
timezone_provider: ^1.1.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.1.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';
1
likes
150
points
126
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, flutter_web_plugins, plugin_platform_interface, web

More

Packages that depend on timezone_provider

Packages that implement timezone_provider