Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributedevicelocale

Extract locales currently defined on the device independently of app settings.

pub.devRemove
locale_plus

Access native device locale data like language, country code, time zone, and number formats.

pub.devRemove
ScoresHealth79 (best)60
Maintenance60 (best)37
Quality96 (best)88
Popularity89 (best)53
Community80 (best)63
Compatibility79 (best)73
UsageDownloads (30 days)127k (best)7.9k
Likes151 (best)33
Pub points150 / 160 (best)140 / 160
GitHub stars47 (best)26
MaintenanceLatest release0.9.1, 3 months ago (best)2.0.0, 6 months ago
Major versions in 12 months0 (best)1
Contributors15 (best)5
Publisherspiralarm.ukgokberk.dev
FitPlatformsAndroid, iOS, Web, macOS, LinuxAndroid, iOS
WASM-readyNoNo
KindPlugin (native code)Plugin (native code)
Code generationNoNo
Direct dependencies1 (best)3
LicenseAPACHE-2.0MIT
Setup effortLowLow
JudgementStrengths
  • Supports multiple platforms including Android, iOS, web, macOS, and Linux.
  • Provides both string-based and Flutter Locale object return types.
  • Supports Android per-app language preferences.
  • Provides direct access to native device settings for time zones, separators, and date formats.
  • Includes utilities for patching Flutter locale data with native number separators.
  • Supports Swift Package Manager and CocoaPods on iOS.
Weaknesses
  • Linux and POSIX environments lack a standard API for preferred languages, returning only the current locale.
  • Requires platform-specific considerations for SwiftPM on older local Xcode setups.
  • Requires high minimum versions for Dart (>=3.10.0) and Flutter (>=3.38.0).
  • Patching behaviors for specific keyboards like Samsung are limited to Android and iOS.
Warnings
  • Native setup
  • Native setup
devicelocale vs locale_plus: which Flutter package should you use? | pubscout