Korzystanie z Flutter Google Places

import 'packages:flutter_google_places/flutter_google_places.dart';

const kGoogleApiKey = "API_KEY";

Prediction p = await PlacesAutocomplete.show(
                          context: context,
                          apiKey: kGoogleApiKey,
                          mode: Mode.overlay, // Mode.fullscreen
                          language: "en",
                          components: [new Component(Component.country, "ng")]);
mathiasgodwin