FLUTTER ECOSYSTEM

pinkfish/flutter_native_timezone

pinkfish/flutter_native_timezone open-source repository details.

flutter_native_timezone 项目封面
Stars
94
Forks
297
最近推送(UTC)
2024年5月10日
项目状态
未归档
pinkfish GitHub avatar
GITHUB User

pinkfish ↗

语言DartRubyKotlinHTMLSwiftObjective-C

此仓库发布的插件

使用的依赖

依赖清单 4 项
  • flutter_web_plugins{"sdk":"flutter"}
  • flutter{"sdk":"flutter"}
  • js>=0.6.3 <2.0.0
  • flutter_test开发依赖{"sdk":"flutter"}

原始 README

以下为英文项目原文快照,最新内容请访问 GitHub。

展开 / 收起项目 README

flutter_native_timezone

A flutter plugin for getting the local timezone of the os.

Getting Started

Install this package and everthing good will just follow along with you.

Features

  • [X] iOS Support
  • [X] Android Support

Usage examples

Get the timezone
final String currentTimeZone = await FlutterNativeTimezone.getLocalTimezone();