postal_code 0.0.4 copy "postal_code: ^0.0.4" to clipboard
postal_code: ^0.0.4 copied to clipboard

Autocomplete field for postal codes in any country around the world

Postal code #

Simple auto-complete field for postal codes in any country around the world.

PostalCodeField(
    countryCode: "cz",
    onSelected: (postalCode) {
        ...
    },
),
Screenshot

Installation #

Add postal_code to your pubspec.yaml file:

dependencies:
    postal_code: ^0.0.3

or call

flutter pub add postal_code

TODO #

  • ✅ Use stable API
  • ❌ Implement caching of results
  • ❌ Improve style customization
  • ❌ Custom improved backend service?
  • ❌ Fully offline version?

Feel free to open an issue here if you have any problems. More features are unlikely to be implemented though to keep the app minimalistic.

Acknowledgements #

This library uses the incredible ZIPAPI

4
likes
160
pub points
78%
popularity

Publisher

unverified uploader

Autocomplete field for postal codes in any country around the world

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, http

More

Packages that depend on postal_code