Closed Ziyad33 closed 4 years ago
When I try the following code: LocationResult result = await LocationPicker.pickLocation(context, "My_API_Key");
LocationResult result = await LocationPicker.pickLocation(context, "My_API_Key");
it shows me an error saying the following:
the method 'pickLocation' isn't defined for the class 'LocationPicker'
has the function name been changed? or am I doing something wrong here?
It's a peaking change in v3.0.0 It's replaced by the top-level function showLocationPicker()
v3.0.0
showLocationPicker()
thanks :)
When I try the following code:
LocationResult result = await LocationPicker.pickLocation(context, "My_API_Key");
it shows me an error saying the following:
has the function name been changed? or am I doing something wrong here?