- Added dart serialization
fromJson
andtoJson
toLocationResult
&AddressComponent
#11.
- Added
MapType
to support different types of map. - Updated minimum supported SDK version to Flutter 3.22.0 & Dart 3.4.0.
- Updated
google_maps_flutter
to 2.10.0. - Updated
geolocator
to 13.0.2.
- Bumped up the versions of third party packages used (
http
,google_maps_flutter
, &geolocator
). - Updated the flutter and dart sdk versions.
- Removed
timeLimit: const Duration(seconds: 30)
fromgetCurrentPosition
method ofgeolocator
package.
- Updated background color of auto place suggestions to
Theme.of(context).canvasColor
.
- Exposed
mapsBaseUrl
in the package so web users can use a proxy server to adding necessary headers. - Exposed
mapsHttpClient
in the package so users can provide their own http client. - Exposed
mapsApiHeaders
in the package so users can provide their own http headers. - Abstracted networking code out from the main package.
- Fixed infinite loop caused due to
animateCamera
andonCameraMove
callback. - Added new prop
autocompletePlacesSearchRadius
to narrow down the autocomplete search results to current location by providing radius in meters if needed.
- Created dart classes for geocoding api results to make the code null safe and concise.
- Updated the logic to fetch and convert the json to dart classes.
- Added
route
andstreetNumber
as fields inLocalizationResult
.
- Downgraded third party versions due to conflicts.
- Added camera animation zoom level as an internal state for real time zoom updates.
- Added
usePinPointingSearch
for toggling between tap selection and pin point (dragging) selection. - Removed all platform specific code from
io
. - Added
SearchingState
toSelectedPlaceWidgetBuilder
so user can update the builder according tosearching
andidle
state. - Removed
Uuid
third party package used forsessionToken
generation.
- Added
Web
support. - Removed platform specific code.
- Breaking change: Updated
showNearbyPlaces
toenableNearbyPlaces
.
- Added
SearchInputConfig
&SearchInputDecorationConfig
to help update the UI ofSearch Input
if required. - Added
My Location Button
, so users can easily navigate to their current location. - Added
MyLocationFABConfig
to help update the UI ofmyLocationButton
.
- Updated
LocationResult
object with correctAddressComponents
.
- Updated Dart version constraints.
- Updated README.
- Initial release with logic, widget and example.