flutter_timezone 1.0.4 copy "flutter_timezone: ^1.0.4" to clipboard
flutter_timezone: ^1.0.4 copied to clipboard

A flutter plugin for getting the local timezone of the device.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add flutter_timezone

With Flutter:

 $ flutter pub add flutter_timezone

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

dependencies:
  flutter_timezone: ^1.0.4

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

Import it

Now in your Dart code, you can use:

import 'package:flutter_timezone/flutter_timezone.dart';
165
likes
0
pub points
99%
popularity

Publisher

verified publisherwolverinebeach.net

A flutter plugin for getting the local timezone of the device.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter, flutter_web_plugins, js

More

Packages that depend on flutter_timezone