FLUTTER ECOSYSTEM

tjarvstrand/flutter_timezone

Um fork de https://github.com/pinkfish/flutter_native_timezone

Capa do projeto flutter_timezone
Stars
62
Forks
65
Último push (UTC)
28 de mai. de 2026
Status do projeto
Ativo
Thomas Järvstrand GitHub avatar
GITHUB User

Thomas Järvstrand ↗

Stockholm, Sweden
LinguagensC++CMakeDartSwiftRubyKotlinObjective-CCHTMLPowerShellShell

Pacotes publicados por este repositório

Dependências usadas

Lista de dependências 7 itens
  • equatable^2.0.7
  • flutter{"sdk":"flutter"}
  • flutter_web_plugins{"sdk":"flutter"}
  • meta^1.16.0
  • flutter_lintsDesenvolvimento^6.0.0
  • flutter_testDesenvolvimento{"sdk":"flutter"}
  • wolverinebeach_lintsDesenvolvimento{"git":{"url":"git@github.com:tjarvstrand/wolverinebeach_dart_util.git","ref":"main","path":"packages/wolverinebeach_lints"}}

README original

Texto original em inglês. Visite o GitHub para a versão atual.

Expandir / recolher 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