Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeiso_countries

Fetch ISO country data and localized names directly from the device OS.

pub.devRemove
language_code

Get current device language code and locale with full ISO 639-1 and ISO 639-2 dictionaries.

pub.devRemove
ScoresHealth3767 (best)
Maintenance044 (best)
Quality91100 (best)
Popularity2749 (best)
Community1758 (best)
Compatibility73100 (best)
UsageDownloads (30 days)1.2k10k (best)
Likes1819 (best)
Pub points140 / 160160 / 160 (best)
GitHub stars57 (best)
MaintenanceLatest release2.2.0, 4 years ago0.7.1, 6 months ago (best)
Major versions in 12 months00
Contributors34 (best)
PublisherUnverifiedlamnhan.dev
FitPlatformsAndroid, iOSAndroid, iOS, Web, Windows, macOS, Linux
WASM-readyYesYes
KindPlugin (native code)Flutter widgets
Code generationNoNo
Direct dependencies00
LicenseMITMIT
Setup effortLowLow
JudgementStrengths
  • No hardcoded country lists or translations; leverages device OS data.
  • Supports fetching countries filtered or translated by specific language codes.
  • Includes almost all ISO 639 language codes with English and native names.
  • Provides test-friendly overrides for device language and locale.
  • Robust fallback and resolution logic for complex locale variants.
Weaknesses
  • Relies on the device OS, meaning country lists and translations may slightly vary across different OS versions or devices.
  • Android requires API level 21 or higher.
  • Throws a StateError if a lookup fails unless an orElse is specified.
  • Relies on automatic scrapers which may occasionally require community updates for new language codes.
Warnings
  • Native setup
None
iso_countries vs language_code: which Flutter package should you use? | pubscout