flutter_timezone
A flutter plugin for getting the local timezone of the device.
A fork of https://github.com/pinkfish/flutter_native_timezone
English project snapshot. Visit GitHub for the latest content.
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.
Install this package and everything good will just follow along with you.
final TimezoneInfo currentTimeZone = await FlutterTimezone.getLocalTimezone();
On supported platforms Timezone info will contain the localized timezone name. Currently, this is supported on:
Dependency list 7 items
^2.0.7{"sdk":"flutter"}{"sdk":"flutter"}^1.16.0^6.0.0{"sdk":"flutter"}{"git":{"url":"git@github.com:tjarvstrand/wolverinebeach_dart_util.git","ref":"main","path":"packages/wolverinebeach_lints"}}Start with your use case, compare repository activity, and check the original project before adopting it.
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗