flutter_google_places 0.3.0 copy "flutter_google_places: ^0.3.0" to clipboard
flutter_google_places: ^0.3.0 copied to clipboard

Google places autocomplete widgets for flutter. No wrapper, use https://pub.dartlang.org/packages/google_maps_webservice

378
likes
110/ 160
pub points
98%
popularity

We analyzed this package 2 days ago, and awarded it 110 pub points (of a possible 160):

failed
Follow Dart file conventions
10 / 30trigger folding of the section

0/10 points: Provide a valid pubspec.yaml

Failed to verify repository URL.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: flutter_google_places,
    • contains a version property, and,
    • does not contain a publish_to property.

pubspec.yaml from the repository URL mismatch: expected https://github.com/lejard-h/flutter_google_places but got https://github.com/fluttercommunity/flutter_google_places.

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

0/10 points: Use an OSI-approved license

No license was recognized.

Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.

OK
Provide documentation
20 / 20trigger folding of the section

10/10 points: 20% or more of the public API has dartdoc comments

29 out of 86 API elements (33.7 %) have documentation comments.

Some symbols that are missing documentation: flutter_google_places, flutter_google_places.AppBarPlacesAutoCompleteTextField, flutter_google_places.AppBarPlacesAutoCompleteTextField.AppBarPlacesAutoCompleteTextField, flutter_google_places.AppBarPlacesAutoCompleteTextField.textDecoration, flutter_google_places.AppBarPlacesAutoCompleteTextField.textStyle.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

These issues are present but do not affect the score, because they may not originate in your package:

Package does not support platform `Android`.

Because:

  • package:flutter_google_places/flutter_google_places.dart that imports:
  • package:flutter_google_places/src/flutter_google_places.dart that imports:
  • package:google_api_headers/google_api_headers.dart that imports:
  • package:google_api_headers/src/google_api_headers.dart that imports:
  • package:package_info_plus/package_info_plus.dart that imports:
  • package:package_info_plus/src/package_info_plus_windows.dart that imports:
  • package:package_info_plus/src/file_version_info.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:flutter_google_places/flutter_google_places.dart that imports:
  • package:flutter_google_places/src/flutter_google_places.dart that imports:
  • package:google_api_headers/google_api_headers.dart that imports:
  • package:google_api_headers/src/google_api_headers.dart that imports:
  • package:package_info_plus/package_info_plus.dart that imports:
  • package:package_info_plus/src/package_info_plus_windows.dart that imports:
  • package:package_info_plus/src/file_version_info.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `Linux`.

Because:

  • package:flutter_google_places/flutter_google_places.dart that imports:
  • package:flutter_google_places/src/flutter_google_places.dart that imports:
  • package:google_api_headers/google_api_headers.dart that imports:
  • package:google_api_headers/src/google_api_headers.dart that imports:
  • package:package_info_plus/package_info_plus.dart that imports:
  • package:package_info_plus/src/package_info_plus_windows.dart that imports:
  • package:package_info_plus/src/file_version_info.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `macOS`.

Because:

  • package:flutter_google_places/flutter_google_places.dart that imports:
  • package:flutter_google_places/src/flutter_google_places.dart that imports:
  • package:google_api_headers/google_api_headers.dart that imports:
  • package:google_api_headers/src/google_api_headers.dart that imports:
  • package:package_info_plus/package_info_plus.dart that imports:
  • package:package_info_plus/src/package_info_plus_windows.dart that imports:
  • package:package_info_plus/src/file_version_info.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package not compatible with platform Web

Because:

  • package:flutter_google_places/flutter_google_places.dart that imports:
  • package:flutter_google_places/src/flutter_google_places.dart that imports:
  • package:google_api_headers/google_api_headers.dart that imports:
  • package:google_api_headers/src/my_platform.dart that imports:
  • dart:io

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:flutter_google_places/flutter_google_places.dart that imports:
  • package:flutter_google_places/src/flutter_google_places.dart that imports:
  • package:google_api_headers/google_api_headers.dart that imports:
  • package:google_api_headers/src/my_platform.dart that imports:
  • dart:io

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

failed
Pass static analysis
30 / 50trigger folding of the section

30/50 points: code has no errors, warnings, lints, or formatting issues

Found 7 issues. Showing the first 2:

WARNING: The operand can't be null, so the condition is always 'true'.

lib/src/flutter_google_places.dart:250:18

    ╷
250 │     assert(state != null);
    │                  ^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/flutter_google_places.dart

WARNING: The operand can't be null, so the condition is always 'true'.

lib/src/flutter_google_places.dart:287:18

    ╷
287 │     assert(state != null);
    │                  ^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/flutter_google_places.dart

failed
Support up-to-date dependencies
30 / 40trigger folding of the section

0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
flutter flutter 0.0.0 0.0.0
google_api_headers ^1.0.0 1.6.0 4.2.6
google_maps_webservice ^0.0.20-nullsafety.3 0.0.20-nullsafety.5 0.0.20-nullsafety.5
http ^0.13.1 0.13.6 1.2.2
rxdart ^0.26.0 0.26.0 0.28.0
Transitive dependencies
Package Constraint Compatible Latest
async - 2.12.0 2.12.0
characters - 1.3.0 1.3.1
collection - 1.18.0 1.19.1
ffi - 2.1.3 2.1.3
flutter_web_plugins - 0.0.0 0.0.0
http_parser - 4.0.2 4.1.1
json_annotation - 4.9.0 4.9.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
package_info_plus - 4.2.0 8.1.1
package_info_plus_platform_interface - 2.0.1 3.0.1
path - 1.9.1 1.9.1
plugin_platform_interface - 2.1.8 2.1.8
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
string_scanner - 1.4.0 1.4.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.4.0 1.4.0
vector_math - 2.1.4 2.1.4
win32 - 5.8.0 5.8.0

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Found 3 issues. Showing the first 2:

The constraint `^1.0.0` on google_api_headers does not support the stable version `2.0.0`.

Try running dart pub upgrade --major-versions google_api_headers to update the constraint.

The constraint `^0.13.1` on http does not support the stable version `1.0.0`.

Try running dart pub upgrade --major-versions http to update the constraint.

10/10 points: Package supports latest stable Dart and Flutter SDKs

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.15, Flutter 3.24.5, Dart 3.5.4.

Check the analysis log for details.

378
likes
110
pub points
98%
popularity

Publisher

unverified uploader

Google places autocomplete widgets for flutter. No wrapper, use https://pub.dartlang.org/packages/google_maps_webservice

Repository (GitHub)
View/report issues

Documentation

API reference

License

unknown (license)

Dependencies

flutter, google_api_headers, google_maps_webservice, http, rxdart

More

Packages that depend on flutter_google_places