0 purchases
address form
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
copied to clipboard
Import PhotoX:
import 'package:address_form/address_form.dart';
copied to clipboard
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,
)
],
),
);
}
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.