google_places_sdk_flutter 0.6.1
google_places_sdk_flutter: ^0.6.1 copied to clipboard
Cross-platform Google Places autocomplete widgets and clients built on Places API (New).
0.6.1 #
July 27, 2026 #
Security:
- Photo media no longer sends the API key as a URL query
parameter. It authenticates with the
X-Goog-Api-Keyheader like every other operation. Rotate any key used withfetchPhotoMediaon0.5.0–0.6.0.
New:
originon the autocomplete widgets, which enables the per-suggestion distance display, plusPlacesStrings.distanceUnitMeters. Includes a device-location recipe covering the Android and iOS setup. The package itself never requests location permission.
Fixed:
- Dialog and fullscreen modes now honor
decoration,suggestionBuilder,showPoweredByGoogle,onClearField, andenabled. - The fullscreen overlay scrolls.
- Retry works on web.
- Text Search no longer sends
pageSizeandmaxResultCounttogether. - Reused cancellation tokens no longer accumulate listeners.
See What's new in 0.6.1 for details and examples.
0.6.0 #
July 20, 2026 #
Deprecated:
- Text Search
maxResultCount(usepageSize), stringproxyBaseUrl(use typed proxy configuration), and direct browser REST fallback. Planned removal or default change:1.0.0.
New:
- Text Search pagination, cancellation, richer Place data, photo attribution, typed errors, validation, and secure transport options.
Fixed:
- Autocomplete billing sessions, stale async work, Form behavior, response handling, and diagnostic redaction.
Compatibility:
- Proxy requests no longer receive Google keys.
- Injected HTTP clients remain caller-owned unless ownership is transferred.
See What's new in 0.6.0 for examples, behavior notes, and complete details.
0.5.0 #
June 3, 2026 #
- Added mixed autocomplete suggestions with opt-in query prediction support.
- Added Place Photos (New) media lookup through
fetchPhotoMedia. - Added newer Places API field masks for address descriptors, EV charging, fuel options, generative summaries, service-area businesses, and moved places.
- Improved autocomplete widget clear-button behavior, selection loading feedback, keyboard navigation, semantic labels, and text match highlighting.
- Enabled stricter analyzer settings and expanded Flutter 3.44 CI coverage.
- Compacted the README and added a dedicated API reference document.
0.4.0 #
April 16, 2026 #
Initial public release on pub.flutter-io.cn.
- Added a cross-platform Google Places API (New) client for Flutter.
- Added inline, dialog, and fullscreen autocomplete widgets.
- Added optional place-details and time-zone fetching on selection.
- Added typed address support with structured models and convenience getters.
- Added Android, iOS, web, macOS, Windows, and Linux example support.
