Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tuoku/address_field
📍A drop-in address form with autocomplete and validation.
https://github.com/tuoku/address_field
address address-forms dart flutter flutter-package places-api places-autocomplete widget
Last synced: about 1 month ago
JSON representation
📍A drop-in address form with autocomplete and validation.
- Host: GitHub
- URL: https://github.com/tuoku/address_field
- Owner: tuoku
- License: bsd-3-clause
- Created: 2023-02-17T18:42:11.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-17T19:11:29.000Z (almost 2 years ago)
- Last Synced: 2024-11-15T05:51:44.814Z (about 2 months ago)
- Topics: address, address-forms, dart, flutter, flutter-package, places-api, places-autocomplete, widget
- Language: Dart
- Homepage: https://pub.dev/packages/address_form
- Size: 285 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# 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:
```dart
import 'package:address_form/address_form.dart';
```## Usage
```dart
final mainKey = GlobalKey();@override
Widget build(BuildContext context) {
return Container(
padding: const EdgeInsets.all(20),
child: Column(
mainAxisAlignment: MainAxisAlignment.start,
children: [
AddressForm(
apiKey: "",
mainKey: mainKey,
key: mainKey,
)
],
),
);
}
```