fysoul17 / google_maps_place_picker

Place picker on Google Maps for Flutter
MIT License
222 stars 357 forks source link

Please update to latest version of provider #122

Closed eliezerp3 closed 3 years ago

eliezerp3 commented 3 years ago

First of all, I would like to thank those involved in the creation of this package. It looks great!

I tried installing it but i am getting this error. ERR : Because google_maps_place_picker <2.0.0-nullsafety.0 depends on provider ^4.0.1 and [my project] depends on provider ^5.0.0, google_maps_place_picker <2.0.0-nullsafety.0 is forbidden.

Any way you guys can update to the latest version of provider?

fysoul17 commented 3 years ago

You can try with dependency-overrides.

dependency_overrides: provider: ^5.0.0

eliper3 commented 3 years ago

You can try with dependency-overrides.

dependency_overrides: provider: ^5.0.0

Thank you. Do you know if there were any breaking changes in provider 5.0.0 that will break this package?

And also one more thing; I don’t see any way in the documentation to place pin markers in custom locations? Is there a way to do this?

fysoul17 commented 3 years ago

1) You might want to have a look at the provider package's document to see what has been changed. It won't affect as long as compiling your project fails.

2) Pin always stays at the center of the map. This means if you set the initial position, the pin will point to the location you set with initialPosition option. If you are asking if you can programmatically change the position after the map has loaded by pressing a button or some sort, unfortunately, no, there isn't any way to do such thing.