address_formatter
Formats address components into human-readable address strings using OpenCage templates for countries worldwide.
What this package is like to depend on
Last release 8 days ago
15 Aug 2026
Too new to tell
only 2 release windows
Nearly every release is documented
notes for 2 of 2 stable releases
1 version withdrawn
withdrawn after publishing
1 months old
3 releases · first in 2026
3 releases in the last 12 months
see the full history below
Release timeline
3 releases · Jul 2026 to Aug 2026Releases
latest 3-
0.4.015 Aug 2026Release notes
Open source →- Removed the
AddressFormatterclass and itsformat(List<String>),multiLineFormat, andsingleLineFormatmethods. - Added top-level
formatAddress, which returns a multi-lineString. - Added top-level
formatAddressSingleLine, which returns a comma-separatedString.
- Removed the
-
0.3.005 Jul 2026Release notes
Open source →- Removed the
formatLanguageCodeparameter. Language-specific format templates (e.g. selecting a Chinese vs. English layout for Taiwan) are no longer supported; the country default is always used, consistent with other implementations of the OpenCage spec. - Removed the
countryNameLanguageCodeparameter and the CLDR-backedkTerritoryNamesconstant. Country names are now sourced from the inline comments in OpenCage'scountry_codes.yamland stored in the newkCountryNamesconstant (English only). When the geocoder response includes acountry_codebut nocountry, the formatter injects the English country name automatically. - Added
example/example.dartdemonstrating how to query the Nominatim API and format the returned address components.
- Removed the
-
0.2.001 Jul 2026 withdrawnRelease notes
Open source →- Added
countryNameLanguageCodeparameter toformat(),multiLineFormat(), andsingleLineFormat(). Accepts any ISO 639-1 code from Flutter'skMaterialSupportedLanguages(81 languages); unsupported codes fall back to'en'. Defaults to'en'. - Country display names are sourced from CLDR (
cldr-localenames-full) and stored in the new generated constantkTerritoryNames. Short forms are preferred over verbose ones where CLDR provides them (e.g.HK→'Hong Kong'rather than'Hong Kong SAR China').
- Added