FLUTTER ECOSYSTEM

flutter_native_timezone

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

Latest version
2.0.0
30-day downloads
6.3K
Likes
259
Pub points
70

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Overview

A Flutter plugin that retrieves the device's local timezone information directly from the operating system. It provides accurate and up-to-date timezone data without relying on hardcoded values or manual configuration. This is particularly useful for applications requiring time zone-aware functionality, such as scheduling, calendar apps, or location-based services. The plugin works across platforms by leveraging native OS APIs to ensure consistency and reliability.

Use cases
  • Scheduling events based on user's local time
  • Displaying timestamps in user's timezone
  • Building location-aware applications
  • Syncing time-sensitive data across regions
  • Implementing time zone detection in global apps
Key features
  • Accesses native OS timezone
  • Returns accurate timezone identifiers
  • Cross-platform support
  • Simple API with minimal setup
  • No need for manual timezone configuration
Suitable for
  • Apps needing precise timezone handling
  • Global or multi-region applications
  • Time-sensitive features like reminders
  • Developers seeking reliable native integration
Considerations
  • Requires platform-specific permissions on some systems
  • May not update dynamically during runtime
  • Limited to timezone retrieval, not manipulation
  • Depends on OS-level timezone settings
  • Not suitable for complex time zone calculations
Supported platformsNot available

Install package

flutter pub add flutter_native_timezone

Categories

Dependencies

Dependency list 1 items
  • js>=0.6.3 <2.0.0

Source repository

Related projects