flutter_timezone_plus 1.1.3 copy "flutter_timezone_plus: ^1.1.3" to clipboard
flutter_timezone_plus: ^1.1.3 copied to clipboard

A fork of https://pub.dev/packages/flutter_timezone works on windows and linux

flutter_timezone_plus #

pub package

A fork of flutter_timezone works on windows and linux

Usage examples #

Get the timezone #

Current timezone:

// Returns null if timezone not found on windows or linux.
final String? currentTimeZone = await FlutterTimezone.getLocalTimezone();

All available timezones:

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

Reference #

Wikipedia's list of TZ database names

Credits #

https://pub.dev/packages/flutter_timezone

https://github.com/tjarvstrand/flutter_timezone

1
likes
160
points
161
downloads

Publisher

verified publisherozayakcan.com.tr

Weekly Downloads

A fork of https://pub.dev/packages/flutter_timezone works on windows and linux

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

flutter, flutter_web_plugins, js

More

Packages that depend on flutter_timezone_plus