Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributecountry_codes

Provides country details, ISO codes, and dial codes based on localization.

pub.devRemove
sealed_countries

Provides compile-time constant data for world countries using sealed classes.

pub.devRemove
ScoresHealth6084 (best)
Maintenance593 (best)
Quality9697 (best)
Popularity76 (best)65
Community80 (best)58
Compatibility79100 (best)
UsageDownloads (30 days)36k (best)29k
Likes134 (best)34
Pub points150 / 160160 / 160 (best)
GitHub stars3568 (best)
MaintenanceLatest release3.3.0, 2 years ago3.4.2, 5 weeks ago (best)
Major versions in 12 months0 (best)1
Contributors12 (best)4
Publishermiguelruivo.comtsin.is
FitPlatformsAndroid, iOS, macOSAll (pure Dart)
WASM-readyYesYes
KindPlugin (native code)Pure Dart
Code generationNoNo
Direct dependencies0 (best)2
LicenseMITMIT
Setup effortLowLow
JudgementStrengths
  • Provides localized country names and dial codes easily.
  • Includes a built-in DialCodeFormatter for text form fields.
  • Supports both device region detection and custom locales.
  • Complete ISO 3166 coverage for all countries
  • Compile-time constants and tree-shakable
  • Extensive translations and localized names
Weaknesses
  • Requires manual initialization via CountryCodes.init() before use.
  • Limited to basic country details and a single text input formatter.
  • Does not include Flutter-ready widgets out of the box
  • Large static dataset increases code footprint
Warnings
  • Native setup
None
country_codes vs sealed_countries: which Flutter package should you use? | pubscout