PackageTrack
Sign in Get early access

address_formatter

Formats address components into human-readable address strings using OpenCage templates for countries worldwide.

0.4.0 pm-gwatch/address_formatter

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

Releases

latest 3
  1. 0.4.0 15 Aug 2026
    Release notes
    • Removed the AddressFormatter class and its format (List<String>), multiLineFormat, and singleLineFormat methods.
    • Added top-level formatAddress, which returns a multi-line String.
    • Added top-level formatAddressSingleLine, which returns a comma-separated String.
    Open source →
  2. 0.3.0 05 Jul 2026
    Release notes
    • Removed the formatLanguageCode parameter. 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 countryNameLanguageCode parameter and the CLDR-backed kTerritoryNames constant. Country names are now sourced from the inline comments in OpenCage's country_codes.yaml and stored in the new kCountryNames constant (English only). When the geocoder response includes a country_code but no country, the formatter injects the English country name automatically.
    • Added example/example.dart demonstrating how to query the Nominatim API and format the returned address components.
    Open source →
  3. 0.2.0 01 Jul 2026 withdrawn
    Release notes
    • Added countryNameLanguageCode parameter to format(), multiLineFormat(), and singleLineFormat(). Accepts any ISO 639-1 code from Flutter's kMaterialSupportedLanguages (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 constant kTerritoryNames. Short forms are preferred over verbose ones where CLDR provides them (e.g. HK'Hong Kong' rather than 'Hong Kong SAR China').
    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