country_flags
A Flutter package to show a flag icon from a ISO country code.
4.1.2
123K downloads/mo
#1047 most downloaded on pub.dev
arturograu/country_flags
What this package is like to depend on
Last release 7 months ago
26 Jan 2026
Ships fairly regularly
a new release about every 3 months
Nearly every release is documented
notes for 16 of 16 stable releases
Nothing withdrawn
no release was ever pulled
4 years old
16 releases · first in 2022
5 releases in the last 12 months
see the full history below
Release timeline
16 releases · Sep 2022 to Jan 2026Releases
latest 16-
4.1.226 Jan 2026Release notes
Open source →What's Changed
- fix: handle case-insensitive flag lookups by @arturograu in #91
Full Changelog: v4.1.1...v4.1.2
-
4.1.130 Dec 2025Release notes
Open source →What's Changed
- test: fix tests for not found flags icon by @arturograu in #86
- fix: nigerian flag not showing up when calling fromPhonePrefix by @arturograu in #85
- chore: bump version 4.1.1 and update changelog by @arturograu in #87
Full Changelog: v4.1.0...v4.1.1
-
4.1.013 Oct 2025Release notes
Open source →What's Changed
- chore: fixed changelog for better readability on pub.dev by @CaLouro in #75
- build(deps): bump very_good_analysis from 9.0.0 to 10.0.0 by @dependabot[bot] in #76
- Add copyWith methods to relevant classes by @bqubique in #77
- feat: add support for ddi code by @arturograu in #78
- Added 'cn' as base flag for Chinese by @JHubi1 in #67
- docs: add contribution guidelines by @arturograu in #79
- docs: flag from phone prefix documentation by @arturograu in #80
- chore: bump version to 4.1.0 and update CHANGELOG by @arturograu in #81
- chore: decrease code coverage requirement by @arturograu in #82
New Contributors
- @CaLouro made their first contribution in #75
- @bqubique made their first contribution in #77
- @JHubi1 made their first contribution in #67
Full Changelog: v4.0.1...v4.1.0
Release notes
Open source →- fix: added 'cn' as a base flag for Chinese
- feat: generate flags from a phone number prefix
- feat: add
copyWithmethods to relevant classes
-
4.0.115 Sep 2025Release notes
Open source →What's Changed
- Update MY Flag by @leongjiameng in #71
- test: regenerate goldens by @arturograu in #73
- Fixes README.md Emoji example by @cgutierr-zgz in #72
- build(deps): bump actions/checkout from 4 to 5 by @dependabot[bot] in #69
- build(deps): bump very_good_analysis from 8.0.0 to 9.0.0 by @dependabot[bot] in #62
- build(deps): bump subosito/flutter-action from 2.19.0 to 2.21.0 by @dependabot[bot] in #65
- chore: update docs and changelog by @arturograu in #74
New Contributors
- @leongjiameng made their first contribution in #71
- @cgutierr-zgz made their first contribution in #72
Full Changelog: v4.0.0...v4.0.1
-
4.0.009 Sep 2025Release notes
Open source →What's Changed
- build(deps): bump very_good_analysis from 7.0.0 to 8.0.0 by @dependabot[bot] in #61
- feat: add emoji flags by @arturograu in #70
Full Changelog: v3.3.0...v4.0.0
Release notes
Open source →- feat: add emoji flags style
BREAKING CHANGES:
- feat: created
FlagThemeclass to encapsulate theming
-
3.3.021 May 2025Release notes
Open source →What's Changed
- build(deps): bump codecov/codecov-action from 4 to 5 by @dependabot in #46
- build(deps): bump subosito/flutter-action from 2.18.0 to 2.19.0 by @dependabot in #56
- feat: add support for currency codes. by @Abdalqader27 in #59
- chore: bump version 3.3.0 by @arturograu in #60
New Contributors
- @Abdalqader27 made their first contribution in #59
Full Changelog: v3.2.0...v3.3.0
-
3.2.023 Dec 2024Release notes
Open source →What's Changed
- feat: add the new flag of syria by @arturograu in #51
- build(deps): bump very_good_analysis from 5.1.0 to 6.0.0 by @dependabot in #48
- build(deps): bump subosito/flutter-action from 2.16.0 to 2.18.0 by @dependabot in #47
- build(deps): bump very_good_analysis from 6.0.0 to 7.0.0 by @dependabot in #52
Full Changelog: v3.1.0...v3.2.0
-
3.1.011 Dec 2024Release notes
Open source →What's Changed
- feat: add 3 letter iso code support by @fransdhinta in #44
- Added missing languages to _flagCodesLanguages by @rpock in #41
- Add the missing breaking change to the changelog by @Co-7 in #39
- build(deps): bump subosito/flutter-action from 2.12.0 to 2.16.0 by @dependabot in #31
- build(deps): bump VeryGoodOpenSource/very_good_coverage from 2 to 3 by @dependabot in #27
- build(deps): bump codecov/codecov-action from 3 to 4 by @dependabot in #25
New Contributors
Release notes
Open source →- fix: added all missing translations from language-code to country code
- feat: add support for three-letter country codes
-
3.0.017 Jun 2024Release notes
Open source →- feat: add two new shapes: Circle and RoundedRectangle
- fix: add missing kosovo country code
- fix: add missing Portuguese language code
- fix: add GB-SCT, GB-WLS, GB-ENG, GB-NIR subdivisions
- fix: Czech Republic language code
BREAKING CHANGES:
- refactor: remove borderRadius property, use shape property now
-
2.2.024 Nov 2023 -
2.1.130 Aug 2023 -
2.1.028 Jun 2023Release notes
Open source →- perf: switch to jovial_svg for faster rendering
- feat: upgrade to support Dart ^3.0.0
- refactor: remove unused intl library
- refactor: upgrade collection, very_good_analysis
-
2.0.016 Apr 2023 -
1.1.115 Mar 2023 -
1.1.015 Feb 2023 -
1.0.022 Sep 2022