Updated 29 April 2023


google_maps_place_picker provides ‘Picking Place’ using Google Maps widget.

Getting Started 

You may also explore our Flutter app development page.

Advantages of google_maps_place_picker

1. Setup For Android

Specify your API key in the application manifest android/app/src/main/AndroidManifest.xml

Note:- Make sure you are using androidX environment for your android project development.

2. Setup For iOS

Specify your API key in the application delegate ios/Runner/AppDelegate.m

Or in your swift code, specify your API key in the application delegate ios/Runner/AppDelegate.swift

On iOS, you’ll need to add the following entries to your Info.plist file (located under ios/Runner) in order to access the device’s location.

Simply open your Info.plist file and add the following-

In addition, you need to add the Background Modes capability to your XCode project (Project > Signing and Capabilties > “+ Capability” button) and select Location Updates.g> This app needs access to location when open and in the background.

Opt-in to the preview of the embedded view by adding a boolean property to the app’s Info.plist file with the key io.flutter.embedded_views_preview and the value YES.

Now let’s start with the flutter

Add the below-mentioned package in your pubspec.yaml file

Basic usage 

You can use PlacePicker by pushing to a new page using Navigator, OR put as a child of any widget.
When the user picks a place on the map, it will return result to ‘onPlacePicked’ with PickResult type. Alternatively, you can build your own way with ‘selectedPlaceWidgetBuilder’ and fetch result from it (See the instruction below).

Customize Pin

By default, the Pin icon is provided with very simple picking animation when moving around.
However, you can also create your own pin widget using ‘pinBuilder’

Check this video for output

To know more about google_maps_place_picker please check this link

Hopefully, this blog will be helpful to you to understand the Google Maps Place Picker. If you have any queries, please write them in the comment section.

. . .

Leave a Comment

Your email address will not be published. Required fields are marked*


  • Dani
    • Akshay Singh (Moderator)
  • Start a Project

      Message Sent!

      If you have more details or questions, you can reply to the received confirmation email.

      Back to Home