Skip to content
pubscout

google_maps_place_picker_mb

3.1.2, released 3 years ago by an unverified publisher

A Flutter widget that lets users pick a location using Google Maps.

Repository archived
$ flutter pub add google_maps_place_picker_mb
Source repository

What it does

It displays a Google Map, shows the user's current location, and returns the selected place details. It also supports restricting selection to a circular area and custom zoom controls.

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

Use it when

  • You need an interactive map for users to select a place
  • You want built‑in handling of location permissions and place details
  • You prefer a ready‑made UI over building it from google_maps_flutter yourself

Skip it when

  • You only need a static map or simple marker placement
  • You require a fully custom UI without the provided picker overlay

Strengths

  • Integrates Google Maps, Geolocator and Places APIs in one widget
  • Provides extra features like circular restriction and custom zoom controls
  • Handles permission requests and location fetching out of the box

Weaknesses

  • Relies on multiple native APIs, increasing setup complexity
  • Limited customization compared to building your own picker
  • Package maintenance may lag behind upstream dependencies

Setup

Kind
Flutter widgets
Effort
Medium
Code generation
No
Direct dependencies
9

Add Google Maps API keys for Android (AndroidManifest) and iOS (AppDelegate/Info.plist). Enable location permissions in Info.plist and Android manifest. Enable AndroidX and set compileSdkVersion >=28. Optionally enable embedded views preview on iOS.

import 'package:flutter/material.dart';
import 'package:google_maps_place_picker_mb/google_maps_place_picker.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        body: PlacePicker(
          apiKey: 'YOUR_GOOGLE_API_KEY',
          initialPosition: LatLng(37.7749, -122.4194),
          onPlacePicked: (result) {
            // handle selected place
          },
        ),
      ),
    );
  }
}

Alternatives

Packages that do the same job and could replace google_maps_place_picker_mb.

  • flutter_map

    Open‑source map solution without Google API keys, useful for offline or non‑Google maps

Works with

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