FLUTTER ECOSYSTEM

tjarvstrand/flutter_timezone

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

flutter_timezone 專案封面
Stars
62
Forks
65
最近推送(UTC)
2026年5月28日
專案狀態
未封存
Thomas Järvstrand GitHub avatar
GITHUB User

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"}}

原始 README

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

展開 / 收合專案 README

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