address_formatter 0.3.0
address_formatter: ^0.3.0 copied to clipboard
Converts address components into correctly formatted postal addresses for countries worldwide, following the OpenCage address-formatting specification.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add address_formatterWith Flutter:
$ flutter pub add address_formatterThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
address_formatter: ^0.3.0Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:address_formatter/address_formatter.dart';