Skip to content
pubscout

flutter_google_places_hoc081098

2.0.0, released 2 years ago by an unverified publisher

Google Places autocomplete widgets for Flutter

$ flutter pub add flutter_google_places_hoc081098
Source repository

What it does

Provides ready-to-use widgets and dialogs for searching Google Places with autocomplete functionality. It supports overlay and fullscreen display modes, custom language settings, and component filtering.

AI-written summary of version 2.0.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need a quick way to integrate Google Places search and autocomplete into your Flutter app.
  • You want to allow users to select addresses or locations using the Google Places API.

Skip it when

  • You are using a map provider other than Google Maps or require custom place providers.
  • You want a fully headless client without pre-built UI widgets.

Strengths

  • Easy to set up with overlay and fullscreen modes
  • Supports custom styling and input decoration
  • Handles error callbacks and autocomplete predictions out of the box

Weaknesses

  • Requires a valid Google Places API key and billing enabled on your Google Cloud account
  • License is unknown

Setup

Kind
Flutter widgets
Effort
Low
Code generation
Yes (build_runner)
Direct dependencies
9

Requires a Google API key and enabling billing on your Google Cloud account.

final Prediction? p = await PlacesAutocomplete.show(
  context: context,
  apiKey: kGoogleApiKey,
  onError: (response) => print(response.errorMessage),
  mode: Mode.overlay,
  language: 'fr',
  components: [Component(Component.country, 'fr')],
);

Alternatives

Packages that do the same job and could replace flutter_google_places_hoc081098.

Works with

Packages commonly used together with flutter_google_places_hoc081098: ones it builds on, ones built on it, and its own family.