flutter_google_places 0.1.4+1

  • README.md
  • CHANGELOG.md
  • Example
  • Installing
  • Versions
  • 94

flutter_google_places

pub version

Google places autocomplete widgets for flutter.

Getting Started

For help getting started with Flutter, view our online documentation.

# pubspec.yaml

dependencies:
  flutter:
    sdk: flutter
  flutter_google_places: <last-version>

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")]);

The library use google_maps_webservice library which directly refer to the official documentation for google maps web service.

0.1.4

  • Rename footer to logo to be less confusing

0.1.3

  • update rxdart

0.1.2

  • fix dark mode

0.1.1

  • fix icons quality
  • fix input border when custom theme

0.1.0

  • update sdk and fix warnings

0.0.5

fix usage of radius

0.0.4

  • Open widgets to create your own UI
  • add onError callback

0.0.3

  • add padding for overlay on iOS

0.0.2

  • Update google_maps_webservice to ^0.0.3
  • fix placeholder position
  • fix keyboard clipping on overlay

0.0.1

Initial version

example/README.md

example

A new Flutter project.

Getting Started

For help getting started with Flutter, view our online documentation.

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  flutter_google_places: ^0.1.4+1

2. Install it

You can install packages from the command line:

with Flutter:


$ flutter packages get

Alternatively, your editor might support flutter packages get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:flutter_google_places/flutter_google_places.dart';
  
Version Uploaded Documentation Archive
0.1.4+1 Dec 2, 2018 Go to the documentation of flutter_google_places 0.1.4+1 Download flutter_google_places 0.1.4+1 archive
0.1.4 Nov 29, 2018 Go to the documentation of flutter_google_places 0.1.4 Download flutter_google_places 0.1.4 archive
0.1.3 Nov 10, 2018 Go to the documentation of flutter_google_places 0.1.3 Download flutter_google_places 0.1.3 archive
0.1.2 Oct 22, 2018 Go to the documentation of flutter_google_places 0.1.2 Download flutter_google_places 0.1.2 archive
0.0.1 Sep 22, 2018 Go to the documentation of flutter_google_places 0.0.1 Download flutter_google_places 0.0.1 archive
Popularity:
Describes how popular the package is relative to other packages. [more]
87
Health:
Code health derived from static analysis. [more]
100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
100
Overall:
Weighted score of the above. [more]
94
Learn more about scoring.

We analyzed this package on Dec 5, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.1.0
  • pana: 0.12.7
  • Flutter: 1.0.0

Platforms

Detected platforms: Flutter

References Flutter, and has no conflicting libraries.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0-dev <3.0.0
flutter 0.0.0
google_maps_webservice ^0.0.10 0.0.10
rxdart ^0.19.0 0.19.0
Transitive dependencies
async 2.0.8
charcode 1.1.2
collection 1.14.11
http 0.12.0
http_parser 3.1.3
meta 1.1.6
path 1.6.2
sky_engine 0.0.99
source_span 1.4.1
string_scanner 1.0.4
typed_data 1.1.6
vector_math 2.0.8
Dev dependencies
test ^1.3.0