Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

using 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")]);
Source by pub.dev #
 
PREVIOUS NEXT
Tagged: #flutter #google #places
ADD COMMENT
Topic
Name
9+1 =