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 ↗