timezone_provider 0.0.1 copy "timezone_provider: ^0.0.1" to clipboard
timezone_provider: ^0.0.1 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: ^0.0.1

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';
0
likes
150
points
116
downloads

Publisher

unverified uploader

Weekly Downloads

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

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on timezone_provider

Packages that implement timezone_provider