-
Notifications
You must be signed in to change notification settings - Fork 396
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not working #164
Comments
Same issue |
You have to send all the parameters of the function: Prediction p = await PlacesAutocomplete.show( |
Trying it: https://pub.dev/packages/flutter_google_places_hoc081098
|
Same problem. Is anybody even working on this? |
Complementing @in3mo answer. The conflicting parameters are This parameters are marked as optional in the
The problem is that specifying components will limit the search results to the countries you pass on those components parameter. So you should pass an empty list on |
@hoc081098 I'm trying your package and it's working great on version I had to downgrade because the last version ( And I'm also having another issue (as well as in But anyways, thanks for your package. 🙏🏽 |
If you're using |
Not working |
For Inidan Users
|
Instead of using this plugin, I created a utility class for Google places auto complete : https://arkapp.medium.com/flutter-and-google-map-for-beginners-part-1-fdba4ab22148 |
I have just became maintainer of this package so I'm planning on getting it back on track and up to date with the latest version of Flutter. @hoc081098 I see you have lot's of improvements in your fork. Do you think it it's possible to backport new features into this original package? |
SOLVED!!! first make this : then :
|
thx !! !! |
I fixed this error below. |
Can you please try the following in
Once i have the permissions, i will upload the changes to pub.dev |
Is this going to be pushed to pub.dev? |
[VERBOSE-2:ui_dart_state.cc(186)] Unhandled Exception: Null check operator used on a null value
#0 PlacesAutocompleteState.doSearch (package:flutter_google_places/src/flutter_google_places.dart:436:28)
#1 _rootRunUnary (dart:async/zone.dart:1362:47)
#2 _CustomZone.runUnary (dart:async/zone.dart:1265:19)
#3 _CustomZone.runUnaryGuarded (dart:async/zone.dart:1170:7)
#4 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:341:11)
#5 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:271:7)
#6 _SyncBroadcastStreamController._sendData (dart:async/broadcast_stream_controller.dart:378:25)
#7 _BroadcastStreamController.add (dart:async/broadcast_stream_controller.dart:244:5)
#8 _StartWithStreamSink.add (package:rxdart/src/transformers/start_with.dart:15:10)
#9 forwardStream... (package:rxdart/src/utils/forwarding_stream.dart:31:49)
The text was updated successfully, but these errors were encountered: