flutter_timezone_observer 1.0.1 copy "flutter_timezone_observer: ^1.0.1" to clipboard
flutter_timezone_observer: ^1.0.1 copied to clipboard

Get and observe the device's IANA timezone. Includes mixins to automatically sync the timezone when the app resumes.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add flutter_timezone_observer

With Flutter:

 $ flutter pub add flutter_timezone_observer

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

dependencies:
  flutter_timezone_observer: ^1.0.1

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_observer/flutter_timezone_observer.dart';
1
likes
0
points
374
downloads

Publisher

verified publisherkalaganov.dev

Weekly Downloads

Get and observe the device's IANA timezone. Includes mixins to automatically sync the timezone when the app resumes.

Repository (GitHub)
View/report issues

Topics

#timezone #zone #time #observer #native

License

unknown (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on flutter_timezone_observer

Packages that implement flutter_timezone_observer