HrBDev / flutter_timezone

A fork of https://github.com/pinkfish/flutter_native_timezone

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

flutter_timezone

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 String currentTimeZone = await FlutterTimezone.getLocalTimezone();

Reference

Wikipedia's list of TZ database names

About

A fork of https://github.com/pinkfish/flutter_native_timezone

License:Apache License 2.0


Languages

Language:C++ 42.5%Language:CMake 26.2%Language:Dart 9.3%Language:Ruby 7.6%Language:Kotlin 4.3%Language:Swift 3.1%Language:HTML 2.7%Language:C 2.4%Language:Objective-C 1.9%