address_formatter 0.4.0
address_formatter: ^0.4.0 copied to clipboard
Formats address components into human-readable address strings using OpenCage templates for countries worldwide.
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.4.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';