country
Generated country class with country_generator using countries.
7.0.0
17K downloads/mo
#2361 most downloaded on pub.dev
aaassseee/country
What this package is like to depend on
Last release 2 months ago
08 Jun 2026
Ships fairly regularly
a new release about every 6 weeks
Nearly every release is documented
notes for 42 of 42 stable releases
3 versions withdrawn
withdrawn after publishing
5 years old
45 releases · first in 2022
4 releases in the last 12 months
see the full history below
Release timeline
45 releases · Jan 2022 to Jun 2026Releases
latest 45-
7.0.008 Jun 2026Release notes
Open source →What's Changed
- chore(deps): bump country/submodule/countries from
3423430to09b97eaby @dependabot[bot] in #83 - chore(deps): bump country/submodule/countries from
09b97eato89a1041by @dependabot[bot] in #85 - chore(deps): bump country/submodule/countries from
89a1041toc9474b8by @dependabot[bot] in #86 - chore(deps): bump country/submodule/countries from
c9474b8tof4711e2by @dependabot[bot] in #88 - feat: add isoShortNameLowerCase field by @aaassseee in #89
- chore: update pubspec.yaml, CHANGELOG.md by @aaassseee in #91
- chore: update README.md by @aaassseee in #92
- chore(deps): bump country/submodule/countries from
f4711e2toa4be73cby @dependabot[bot] in #93 - chore: update generated country with new data by @aaassseee in #94
- feature/update-dependencies by @aaassseee in #95
- chore: update pubspec.yaml, CHANGELOG.md by @aaassseee in #97
- chore(deps): bump country/submodule/countries from
a4be73ctofbc1d35by @dependabot[bot] in #98 - chore(deps): bump country/submodule/countries from
fbc1d35to6391edfby @dependabot[bot] in #100 - feature/split-subdivision-data-into-another-package by @aaassseee in #99
- chore: update country data by @aaassseee in #101
Full Changelog: 6.0.2...7.0.0
Release notes
Open source →Breaking
- Separated
subdivisioninto a separate package — may require updating imports and package references for code that previously accessed subdivisions directly fromcountry. - Removed circular dependency between
countryandcountry_generator— adjust any code that imported both packages.
Internal
- Reverted local dependency overrides and applied dependency bumps and housekeeping.
- Changelog and run configuration updates.
Fix
- Fixed a null crash when parsing
unofficial_names.
Data
- Updated generated country data and bumped the countries submodule.
- chore(deps): bump country/submodule/countries from
-
6.0.401 May 2026Release notes
Open source →What's Changed
- chore: update pubspec.yaml, CHANGELOG.md by @aaassseee in #91
- chore: update README.md by @aaassseee in #92
- chore(deps): bump country/submodule/countries from
f4711e2toa4be73cby @dependabot[bot] in #93 - chore: update generated country with new data by @aaassseee in #94
- feature/update-dependencies by @aaassseee in #95
- release/6.0.4 by @aaassseee in #96
Full Changelog: 6.0.3...6.0.4
-
6.0.318 Jan 2026Release notes
Open source →What's Changed
- chore(deps): bump country/submodule/countries from
3423430to09b97eaby @dependabot[bot] in #83 - chore(deps): bump country/submodule/countries from
09b97eato89a1041by @dependabot[bot] in #85 - chore(deps): bump country/submodule/countries from
89a1041toc9474b8by @dependabot[bot] in #86 - chore(deps): bump country/submodule/countries from
c9474b8tof4711e2by @dependabot[bot] in #88 - feat: add isoShortNameLowerCase field by @aaassseee in #89
- release/6.0.3 by @aaassseee in #90
Full Changelog: 6.0.2...6.0.3
- chore(deps): bump country/submodule/countries from
-
6.0.211 Sep 2025Release notes
Open source →What's Changed
- chore(deps): bump country/submodule/countries from
ffb6ee0to3423430by @dependabot[bot] in #81
Full Changelog: 6.0.1...6.0.2
- chore(deps): bump country/submodule/countries from
-
6.0.105 Aug 2025Release notes
Open source →What's Changed
- chore: update version by @aaassseee in #73
- chore(deps): bump country/submodule/countries from
2ed1a0btoffb6ee0by @dependabot[bot] in #80
Full Changelog: 6.0.0...6.0.1
-
6.0.027 Apr 2025Release notes
Open source →What's Changed
- chore(deps): bump country/submodule/countries from
c125c5cto2ed1a0bby @dependabot in #71 - feat: update latest data structure by @aaassseee in #72
- release/6.0.0 by @aaassseee in #74
Full Changelog: 5.0.1...6.0.0
Release notes
Open source →- update dependencies
- updated generated country with new data
- updated generated country with new structure
- added distanceUnit
- changed nullable with internationalPrefix, nationalPrefix, nationality, region, subregion
- chore(deps): bump country/submodule/countries from
-
5.0.113 Mar 2025Release notes
Open source →What's Changed
- chore(deps): bump country/submodule/countries from
3d62d17tob258002by @dependabot in #67 - chore(deps): bump country/submodule/countries from
b258002toae48e8eby @dependabot in #68 - chore(deps): bump country/submodule/countries from
ae48e8etoc125c5cby @dependabot in #69
Full Changelog: 5.0.0...5.0.1
- chore(deps): bump country/submodule/countries from
-
5.0.012 Jan 2025Release notes
Open source →What's Changed
- chore(deps): bump country/submodule/countries from
ba05cdcto5743e12by @dependabot in #63 - chore(deps): bump country/submodule/countries from
5743e12to3d62d17by @dependabot in #64 - feat: added unMember and vehicleRegistrationCode by @aaassseee in #65
- release/5.0.0 by @aaassseee in #66
Full Changelog: 4.1.10...5.0.0
Release notes
Open source →- added unMember and vehicleRegistrationCode
- updated generated country with new data
- chore(deps): bump country/submodule/countries from
-
4.1.1008 Dec 2024Release notes
Open source →What's Changed
- chore(deps): bump country/submodule/countries from
a8ea7e2to3639158by @dependabot in #59 - chore(deps): bump country/submodule/countries from
3639158toba05cdcby @dependabot in #60
Full Changelog: 4.1.9...4.1.10
Release notes
Open source →- updated generated country with new data
4.1.9
- updated generated country with new data
- chore(deps): bump country/submodule/countries from
-
4.1.914 Sep 2024Release notes
Open source →What's Changed
- chore(deps): bump country/submodule/countries from
814b687toa8ea7e2by @dependabot in #57
Full Changelog: 4.1.8...4.1.9
- chore(deps): bump country/submodule/countries from
-
4.1.824 Aug 2024 -
4.1.730 Jul 2024 -
4.1.607 Jul 2024 -
4.1.521 May 2024 -
4.1.407 May 2024 -
4.1.325 Feb 2024 -
4.1.213 Jan 2024 -
4.1.129 Dec 2023 -
4.1.009 Dec 2023 -
4.1.0+129 Dec 2023 -
4.0.309 Dec 2023 -
4.0.205 Dec 2023 -
4.0.101 Dec 2023Release notes
Open source →- changed eeaMember euMember esmMember should not be nullable boolean
- added g7Member and g20Member
- updated generated country file
-
4.0.011 Oct 2023Release notes
Open source →- added subdivision to country object
- updated submodule
- updated generated country with new data
-
3.0.102 Jun 2023 -
3.0.1+106 Sep 2023 -
3.0.002 Jun 2023Release notes
Open source →- changed all class from positioned parameter to named parameter
- renamed parameter isoShortNameByLanguage to isoShortNameByLocale
-
2.0.929 Apr 2023 -
2.0.813 Apr 2023 -
2.0.701 Apr 2023 -
2.0.628 Jan 2023 -
2.0.505 Jan 2023 -
2.0.423 Dec 2022 -
2.0.329 Oct 2022Release notes
Open source →- update dependencies
- updated submodule
- updated generated country with new data
-
2.0.212 Aug 2022 -
2.0.104 Jun 2022 -
2.0.011 Apr 2022 -
1.0.127 Mar 2022 -
1.0.018 Feb 2022Release notes
Open source →- (Breaking change) changed start of week from string to week enum class
- updated submodule with new data
-
1.0.0+118 Feb 2022 -
0.0.424 Jan 2022 -
0.0.4+107 Feb 2022 -
0.0.324 Jan 2022 withdrawnRelease notes
Open source →- added documentation
- separated iso short name by locale method to flutter_country
-
0.0.222 Jan 2022 withdrawn -
0.0.121 Jan 2022 withdrawn