no class named Prediction
Nisthar opened this issue · 1 comments
Nisthar commented
I am using the example code:
Prediction p = await PlacesAutocomplete.show(
context: context,
apiKey: googleApiKey,
mode: Mode.overlay,
language: "en",
logo: Container(height: 0),
radius: 100000)
.catchError((error) {
print(error);
});
It shows error there is no class named Prediction.
Nisthar commented
oh i forgot to import import 'package:google_maps_webservice/places.dart';