flutter_timezone 1.0.8 copy "flutter_timezone: ^1.0.8" to clipboard
flutter_timezone: ^1.0.8 copied to clipboard

A flutter plugin for getting the local timezone of the device.

flutter_timezone #

A flutter plugin for getting the local timezone of the OS.

This is a fork of the original flutter_native_timezone due to lack of maintenance of that package.

Getting Started #

Install this package and everything good will just follow along with you.

Usage examples #

Get the timezone #

final String currentTimeZone = await FlutterTimezone.getLocalTimezone();

Reference #

Wikipedia's list of TZ database names

151
likes
140
pub points
99%
popularity

Publisher

verified publisherwolverinebeach.net

A flutter plugin for getting the local timezone of the device.

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