Skip to content

tjarvstrand/flutter_timezone

 
 

Repository files navigation

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

Packages

No packages published

Languages

  • C++ 45.0%
  • CMake 30.2%
  • Dart 8.2%
  • Ruby 4.6%
  • C 3.5%
  • Kotlin 2.3%
  • Other 6.2%