address_form 0.0.2 copy "address_form: ^0.0.2" to clipboard
address_form: ^0.0.2 copied to clipboard

A drop-in address form with autocomplete and validation.

AddressForm #

A drop-in address form with autocomplete and validation.

https://user-images.githubusercontent.com/70937274/219762068-59e82d12-dba0-49a8-bc21-e89e1f8f23aa.mp4

Features #

  • Address autocomplete
  • Returns a formatted address as well as individual address components and coordinates

Getting started #

Add address_form as a dependency in your pubspec.yaml file

flutter pub add address_form

Import PhotoX:

import 'package:address_form/address_form.dart';

Usage #

final mainKey = GlobalKey<AddressFormState>();

  @override
  Widget build(BuildContext context) {
    return  Container(
      padding: const EdgeInsets.all(20),
        child: Column(
          mainAxisAlignment: MainAxisAlignment.start,
          children: <Widget>[
            AddressForm(
              apiKey: "",
              mainKey: mainKey,
              key: mainKey,
            )
          ],
        ),
      );
    }
0
likes
90
pub points
63%
popularity

Publisher

verified publishertuoku.dev

A drop-in address form with autocomplete and validation.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

collection, flutter, http, uuid

More

Packages that depend on address_form