flutter_timezone_observer 1.0.0 copy "flutter_timezone_observer: ^1.0.0" to clipboard
flutter_timezone_observer: ^1.0.0 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 Flutter:

 $ flutter pub add flutter_timezone_observer

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

dependencies:
  flutter_timezone_observer: ^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:flutter_timezone_observer/flutter_timezone_observer.dart';
1
likes
160
points
30
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

Documentation

API reference

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on flutter_timezone_observer

Packages that implement flutter_timezone_observer