Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributecountry_flags

Displays country flags as SVG or emoji using ISO country, language, currency, or phone prefix codes

pub.devRemove
flag

A Flutter package to display country flags using SVG assets.

pub.devRemove
ScoresHealth6986 (best)
Maintenance2180 (best)
Quality9696
Popularity88 (best)77
Community8080
Compatibility93100 (best)
UsageDownloads (30 days)228k (best)51k
Likes177 (best)164
Pub points150 / 160150 / 160
GitHub stars2767 (best)
MaintenanceLatest release4.1.2, 10 months ago7.1.0, 6 weeks ago (best)
Major versions in 12 months00
Contributors1416 (best)
Publisherfluttered.iomaomishen.com
FitPlatformsAndroid, iOS, Windows, macOS, LinuxAndroid, iOS, Web, Windows, macOS, Linux
WASM-readyNoYes
KindFlutter widgetsFlutter widgets
Code generationNoNo
Direct dependencies22
LicenseMITBSD-2-CLAUSE
Setup effortLowLow
JudgementStrengths
  • Simple API with multiple lookup methods
  • Supports both SVG and emoji styles
  • Customizable size, shape, and theme
  • Supports multiple flag dimensions and shapes (like 1x1, 4x3, rounded flags).
  • Uses vector graphics (SVG) ensuring crisp rendering across different screen densities.
  • Continuously synced with flag-icons library releases.
Weaknesses
  • Limited to flag display only
  • No support for dynamic flag updates or custom graphics
  • Relies on external SVG assets
  • Relies on external SVG asset updates to keep flags accurate.
  • Limited to flag rendering functionality only.
WarningsNoneNone
country_flags vs flag: which Flutter package should you use? | pubscout