gplaces 0.0.3 copy "gplaces: ^0.0.3" to clipboard
gplaces: ^0.0.3 copied to clipboard

A new Flutter plugin for handle google place api that place search and details and photos and autocomplete and query autocomplete requests are available

GPlaces #

tests pub package

πŸ‘‹ Introduction #

GPlaces provides programmatic access to Google's database of local place and business information, as well as the device's current place.

It uses the Places SDK for Android API on Android and the Places SDK for iOS on iOS.

⚑ Features #

Help your customers explore where they are and what’s around them:

  • Place Autocomplete automatically fills in the name and/or address of a place as users type.
  • Current Place returns a list of places where the user’s device is last known to be located along with an indication of the relative likelihood for each place.
  • Place Details return and display more detailed information about a place.
  • Place Photos returns high-quality images of a place.

πŸš€ Installation #

Include the latest gplaces in your pubspec.yaml

dependencies:
  ...
  gplaces: ^0.0.3
  ...

πŸ”‘ Generate App key #

  1. Go to the Google Maps Platform > Credentials page.
  2. On the Credentials page, click Create credentials > API key. The API key created dialog displays your newly created API key.
  3. Click Close.The new API key is listed on the Credentials page under API keys.(Remember to restrict the API key before using it in production.)
  • For Android add it to AndroidManifest.xml:
<application>  
...  
<activity>  
.. </activity>

<meta-data android:name="com.google.android.geo.API_KEY" android:value="PASTE_YOUR_API_KEY_HERE"/>  
...  
</application>  
  • For iOS add it to Info.plist:
<key>GooglePlaceKey</key>
<string>PASTE_YOUR_API_KEY_HERE</string>

πŸ“‘ Documentation & Example #

Issues & pull requests are more than welcome!

gplaces #

8
likes
160
pub points
38%
popularity

Publisher

verified publishergigjamgo.in

A new Flutter plugin for handle google place api that place search and details and photos and autocomplete and query autocomplete requests are available

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

collection, flutter, plugin_platform_interface

More

Packages that depend on gplaces