v5.1.1
flutter_timezone
一个用于获取设备本地时区的 Flutter 插件。
344喜欢 138万近 30 天下载160Pub 分数
AndroidiOSWebmacOSWindowsLinux
https://github.com/pinkfish/flutter_native_timezone 的一个分支
以下为英文项目原文快照,最新内容请访问 GitHub。
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:
依赖清单 7 项
^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"}}先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗