Nova Places Autocomplete Pub

TextField lets you search for place information using a variety of categories, including establishments, prominent points of interest, and geographic locations. You can search for places either by proximity or a text string. A Place Search returns a list of places along with summary information about each place.

This package uses Google Places API and requires an API key. Please check this link out to obtain your API key.

🍭 Remember to enable Places API for your API key.

Demo

textfield-place-picker.gif

Sample Usage

import 'package:nova_places_autocomplete/nova_places_autocomplete.dart';

NovaPlacesAutocomplete(
  apiKey: 'api-key',
  detailRequired: true,
  onPicked: (prediction) {
    print(prediction);
  },
  onSearchFailed: (error) {
    print(error);
  },
  onPickedPlaceDetail: (detail) {
    print(detail);
  },
)