GithubHelp home page GithubHelp logo

emiliodallatorre / flutter_google_places Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fluttercommunity/flutter_google_places

0.0 1.0 0.0 13.93 MB

Google Places - Google places autocomplete widgets for flutter. No wrapper, use https://pub.dev/packages/google_maps_webservice. Maintainer: @juliansteenbakker

Home Page: https://pub.dev/packages/flutter_google_places

License: Other

Ruby 3.27% Objective-C 1.87% Dart 94.87%

flutter_google_places's Introduction

flutter_google_places

Flutter Community: flutter_google_places

Pub

This library provides Google places autocomplete widgets for flutter. It uses google_maps_webservice library which directly refer to the official documentation for google maps web service.

According to https://stackoverflow.com/a/52545293, you need to enable billing on your account, even if you are only using the free quota.

Installation

In the dependencies: section of your pubspec.yaml, add the following line:

dependencies:
  flutter_google_places: <latest_version>

Usage

const kGoogleApiKey = "API_KEY";

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

Examples:

Example App

View the Flutter app in the example directory.

flutter_google_places's People

Contributors

juliansteenbakker avatar kevmorelli avatar lejard-h avatar thealteria avatar asdamp avatar abbasidaniyal avatar zeshuaro avatar martyfuhry avatar dependabot[bot] avatar jnelle avatar rafao avatar josh-burton avatar stevenspiel avatar mnalsup avatar deepchandyadav avatar awhitford avatar harshshredding avatar anlarosa avatar billsakkas avatar raghav39 avatar pascalotto avatar mjablecnik avatar shakes80 avatar lucazzp avatar krispypen avatar jeroen-meijer avatar ivanespitiac avatar haroonawan avatar emiliodallatorre avatar dereklakin avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.