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

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

Buy Me A Coffee

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
0
points
2
downloads

Publisher

verified publisherwongcoupon.com

Weekly Downloads

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

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, flutter_web_plugins, js, plugin_platform_interface

More

Packages that depend on my_timezone

Packages that implement my_timezone