搜尋套件、儲存庫與 APP 分類

GitHub 儲存庫tjarvstrand/flutter_timezone

flutter_timezone

https://github.com/pinkfish/flutter_native_timezone 的一個分支

flutter_timezone 專案封面
星標
62
分支
65
最近推送(UTC)
2026年5月28日
專案狀態
未封存

原始 README

以下為英文專案原文快照,最新內容請造訪 GitHub。

flutter_timezone

pub package Keep a Changelog v1.1.0

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 TimezoneInfo currentTimeZone = await FlutterTimezone.getLocalTimezone();
Localized timezone names

On supported platforms Timezone info will contain the localized timezone name. Currently, this is supported on:

  • Android
  • MacOS
  • iOS

Reference

Wikipedia's list of TZ database names

Thomas Järvstrand GitHub avatar
GitHub 作者

Thomas Järvstrand ↗

Stockholm, Sweden
語言C++CMakeDartSwiftRubyKotlinObjective-CCHTMLPowerShellShell

此儲存庫發佈的套件

使用的依賴

依賴清單 7 項

  • equatable^2.0.7
  • flutter{"sdk":"flutter"}
  • flutter_web_plugins{"sdk":"flutter"}
  • meta^1.16.0
  • flutter_lints開發依賴^6.0.0
  • flutter_test開發依賴{"sdk":"flutter"}
  • wolverinebeach_lints開發依賴{"git":{"url":"git@github.com:tjarvstrand/wolverinebeach_dart_util.git","ref":"main","path":"packages/wolverinebeach_lints"}}

如何選擇適合專案的儲存庫?

先依使用情境篩選,再比較專案活躍情況,最後到原始儲存庫確認使用要求。

  1. 透過儲存庫名稱、作者或描述搜尋,再依技術分類縮小範圍。
  2. 綜合星標、分支與最近推送比較專案;星標反映社群關注,不保證品質。
  3. 使用前在 GitHub 確認 README、授權條款與 Issues。

來源與維護

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗