place_picker_google
0.0.20, released a year ago by an unverified publisher
A place picker package for Google Maps fully written in Dart for Flutter.
What it does
Provides common operations for place picking, places autocomplete, current location, and nearby places using Google Maps. Supports free native geocoding as an option to reduce API costs.
AI-written summary of version 0.0.20, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need a complete map-based place picker in your Flutter app.
- You want to allow users to search for places, view nearby locations, and pick coordinates using Google Maps.
Skip it when
- You require an entirely custom map interface built with alternative mapping engines like flutter_map without Google Maps dependencies.
Strengths
- Includes autocomplete, nearby places, and my location out of the box
- Supports free native geocoding to reduce Google API billing costs
- Cross-platform support for Android, iOS, and Web
Weaknesses
- Requires platform-specific API key configuration and enabling multiple Google Cloud APIs
- Web usage requires setting up a proxy server to bypass CORS restrictions for Google Places API
Setup
- Kind
- Flutter widgets
- Effort
- Medium
- Code generation
- No
- Direct dependencies
- 4
Requires obtaining a Google Maps API key, enabling Maps SDK for Android/iOS, Places API, and Geocoding API, configuring AndroidManifest.xml, AppDelegate, Info.plist, and index.html for web.
PlacePicker(
apiKey: 'YOUR_API_KEY',
onPlacePicked: (LocationResult result) {
debugPrint("Place picked: ${result.formattedAddress}");
},
initialLocation: const LatLng(29.378586, 47.990341),
);Alternatives
Packages that do the same job and could replace place_picker_google.
- google_maps_flutter_web
Web platform implementation of google_maps_flutter.
88Compare - google_maps_flutter_android
Android implementation of the google_maps_flutter plugin.
82Compare - google_maps_flutter_ios
iOS implementation of the google_maps_flutter plugin.
81Compare - location_web
Web implementation of the location plugin for Flutter web.
74Compare
Works with
Packages commonly used together with place_picker_google: ones it builds on, ones built on it, and its own family.
- geolocatorplace_picker_google depends on itCross-platform plugin to access device GPS, location updates, and coordinate calculations.
- google_maps_flutterplace_picker_google depends on itA Flutter plugin for integrating Google Maps in Android, iOS, and web applications.
- geocodingplace_picker_google depends on itFlutter plugin for forward and reverse geocoding using platform services.