PackageTrack
Sign in Get early access

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 2026
2023 2024 2025 2026
Release Pre-release Withdrawn

Releases

latest 45
  1. 7.0.0 08 Jun 2026
    Release notes

    What's Changed

    • chore(deps): bump country/submodule/countries from 3423430 to 09b97ea by @dependabot[bot] in #83
    • chore(deps): bump country/submodule/countries from 09b97ea to 89a1041 by @dependabot[bot] in #85
    • chore(deps): bump country/submodule/countries from 89a1041 to c9474b8 by @dependabot[bot] in #86
    • chore(deps): bump country/submodule/countries from c9474b8 to f4711e2 by @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 f4711e2 to a4be73c by @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 a4be73c to fbc1d35 by @dependabot[bot] in #98
    • chore(deps): bump country/submodule/countries from fbc1d35 to 6391edf by @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

    Open source →
    Release notes

    Breaking

    • Separated subdivision into a separate package — may require updating imports and package references for code that previously accessed subdivisions directly from country.
    • Removed circular dependency between country and country_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.
    Open source →
  2. 6.0.4 01 May 2026
    Release notes

    What's Changed

    Full Changelog: 6.0.3...6.0.4

    Open source →
    Release notes
    • update dependencies
    • updated generated country with new data
    Open source →
  3. 6.0.3 18 Jan 2026
    Release notes

    What's Changed

    • chore(deps): bump country/submodule/countries from 3423430 to 09b97ea by @dependabot[bot] in #83
    • chore(deps): bump country/submodule/countries from 09b97ea to 89a1041 by @dependabot[bot] in #85
    • chore(deps): bump country/submodule/countries from 89a1041 to c9474b8 by @dependabot[bot] in #86
    • chore(deps): bump country/submodule/countries from c9474b8 to f4711e2 by @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

    Open source →
    Release notes
    • added isoShortNameLowerCase field
    Open source →
  4. 6.0.2 11 Sep 2025
    Release notes

    What's Changed

    • chore(deps): bump country/submodule/countries from ffb6ee0 to 3423430 by @dependabot[bot] in #81

    Full Changelog: 6.0.1...6.0.2

    Open source →
    Release notes
    • update dependencies
    • updated generated country with new data
    Open source →
  5. 6.0.1 05 Aug 2025
    Release notes

    What's Changed

    • chore: update version by @aaassseee in #73
    • chore(deps): bump country/submodule/countries from 2ed1a0b to ffb6ee0 by @dependabot[bot] in #80

    Full Changelog: 6.0.0...6.0.1

    Open source →
    Release notes
    • update dependencies
    • updated generated country with new data
    Open source →
  6. 6.0.0 27 Apr 2025
    Release notes

    What's Changed

    Full Changelog: 5.0.1...6.0.0

    Open source →
    Release notes
    • update dependencies
    • updated generated country with new data
    • updated generated country with new structure
      • added distanceUnit
      • changed nullable with internationalPrefix, nationalPrefix, nationality, region, subregion
    Open source →
  7. 5.0.1 13 Mar 2025
    Release notes

    What's Changed

    • chore(deps): bump country/submodule/countries from 3d62d17 to b258002 by @dependabot in #67
    • chore(deps): bump country/submodule/countries from b258002 to ae48e8e by @dependabot in #68
    • chore(deps): bump country/submodule/countries from ae48e8e to c125c5c by @dependabot in #69

    Full Changelog: 5.0.0...5.0.1

    Open source →
    Release notes
    • update dependencies
    • updated generated country with new data
    Open source →
  8. 5.0.0 12 Jan 2025
    Release notes

    What's Changed

    • chore(deps): bump country/submodule/countries from ba05cdc to 5743e12 by @dependabot in #63
    • chore(deps): bump country/submodule/countries from 5743e12 to 3d62d17 by @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

    Open source →
    Release notes
    • added unMember and vehicleRegistrationCode
    • updated generated country with new data
    Open source →
  9. 4.1.10 08 Dec 2024
    Release notes

    What's Changed

    • chore(deps): bump country/submodule/countries from a8ea7e2 to 3639158 by @dependabot in #59
    • chore(deps): bump country/submodule/countries from 3639158 to ba05cdc by @dependabot in #60

    Full Changelog: 4.1.9...4.1.10

    Open source →
    Release notes
    • updated generated country with new data

    4.1.9

    • updated generated country with new data
    Open source →
  10. 4.1.9 14 Sep 2024
    Release notes

    What's Changed

    • chore(deps): bump country/submodule/countries from 814b687 to a8ea7e2 by @dependabot in #57

    Full Changelog: 4.1.8...4.1.9

    Open source →
  11. 4.1.8 24 Aug 2024
    Release notes
    • updated generated country with new data
    Open source →
  12. 4.1.7 30 Jul 2024
    Release notes
    • updated generated country with new data
    Open source →
  13. 4.1.6 07 Jul 2024
    Release notes
    • updated generated country with new data
    Open source →
  14. 4.1.5 21 May 2024
    Release notes
    • updated generated country with new data
    Open source →
  15. 4.1.4 07 May 2024
    Release notes
    • updated generated country with new data
    Open source →
  16. 4.1.3 25 Feb 2024
    Release notes
    • updated generated country with new data
    Open source →
  17. 4.1.2 13 Jan 2024
    Release notes
    • updated generated country with new data
    Open source →
  18. 4.1.1 29 Dec 2023
    Release notes
    • updated generated country to static const
    Open source →
  19. 4.1.0 09 Dec 2023
    Release notes
    • breakdown generated country data into multiple files
    Open source →
  20. 4.1.0+1 29 Dec 2023
    Release notes
    • updated README.md
    Open source →
  21. 4.0.3 09 Dec 2023
    Release notes
    • updated generated country with new data
    Open source →
  22. 4.0.2 05 Dec 2023
    Release notes
    • updated generated country with new data
    Open source →
  23. 4.0.1 01 Dec 2023
    Release notes
    • changed eeaMember euMember esmMember should not be nullable boolean
    • added g7Member and g20Member
    • updated generated country file
    Open source →
  24. 4.0.0 11 Oct 2023
    Release notes
    • added subdivision to country object
    • updated submodule
    • updated generated country with new data
    Open source →
  25. 3.0.1 02 Jun 2023
    Release notes
    • fix dart sdk constraint
    Open source →
  26. 3.0.1+1 06 Sep 2023
    Release notes
    • update package topics
    Open source →
  27. 3.0.0 02 Jun 2023
    Release notes
    • changed all class from positioned parameter to named parameter
    • renamed parameter isoShortNameByLanguage to isoShortNameByLocale
    Open source →
  28. 2.0.9 29 Apr 2023
    Release notes
    • updated submodule
    • updated generated country with new data
    Open source →
  29. 2.0.8 13 Apr 2023
    Release notes
    • updated submodule
    • updated generated country with new data
    Open source →
  30. 2.0.7 01 Apr 2023
    Release notes
    • updated submodule
    • updated generated country with new data
    Open source →
  31. 2.0.6 28 Jan 2023
    Release notes
    • updated submodule
    • updated generated country with new data
    Open source →
  32. 2.0.5 05 Jan 2023
    Release notes
    • updated submodule
    • updated generated country with new data
    Open source →
  33. 2.0.4 23 Dec 2022
    Release notes
    • updated submodule
    • updated generated country with new data
    Open source →
  34. 2.0.3 29 Oct 2022
    Release notes
    • update dependencies
    • updated submodule
    • updated generated country with new data
    Open source →
  35. 2.0.2 12 Aug 2022
    Release notes
    • updated submodule
    • updated generated country with new data
    Open source →
  36. 2.0.1 04 Jun 2022
    Release notes
    • updated submodule
    • updated generated country with new data
    Open source →
  37. 2.0.0 11 Apr 2022
    Release notes
    • upgrade country to '2.0.0'
    • deprecated longitudeDec
    Open source →
  38. 1.0.1 27 Mar 2022
    Release notes
    • updated submodule with new data
    Open source →
  39. 1.0.0 18 Feb 2022
    Release notes
    • (Breaking change) changed start of week from string to week enum class
    • updated submodule with new data
    Open source →
  40. 1.0.0+1 18 Feb 2022
    Release notes
    • fixed README.md typo
    Open source →
  41. 0.0.4 24 Jan 2022
    Release notes
    • removed flutter as dependency
    Open source →
  42. 0.0.4+1 07 Feb 2022
    Release notes
    • updated README.md
    Open source →
  43. 0.0.3 24 Jan 2022 withdrawn
    Release notes
    • added documentation
    • separated iso short name by locale method to flutter_country
    Open source →
  44. 0.0.2 22 Jan 2022 withdrawn
    Release notes
    • added flag emoji
    • added iso short name by locale method
    Open source →
  45. 0.0.1 21 Jan 2022 withdrawn
    Release notes
    • initial release
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive