my_timezone 0.0.1+4 copy "my_timezone: ^0.0.1+4" to clipboard
my_timezone: ^0.0.1+4 copied to clipboard

A flutter plugin for getting the local timezone of the device on Android, ios, macos.

GitHub Buy Me A Coffee PayPal Sponsor Support Me on Ko-fi

My Timezone #

A flutter plugin for getting the local timezone of the Ios, Macos and Android.

Installation #

Add following dependency in pubspec.yaml file:

my_timezone: ^last_version

Then, run

$ flutter pub get 

Features #

  • ✅ iOS Support
  • ✅ Android Support

Usage #

Get the timezone

import 'package:my_timezone/my_timezone.dart';


final String currentTimeZone = await MyTimezone.getLocalTimezone();

final List<String> availableTimezones = await MyTimezone.getAvailableTimezones();

Developer Team: #

Any comments please contact us ThaoDoan and DucNguyen

2
likes
150
points
6
downloads
screenshot

Publisher

verified publisherwongcoupon.com

Weekly Downloads

A flutter plugin for getting the local timezone of the device on Android, ios, macos.

Repository (GitHub)

Topics

#timezone #local-time #device-info #flutter-plugin #cross-platform

Documentation

API reference

Funding

Consider supporting this project:

buymeacoffee.com
ko-fi.com
github.com
paypal.me

License

MIT (license)

Dependencies

flutter, flutter_web_plugins, js, plugin_platform_interface

More

Packages that depend on my_timezone