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

382
likes
110/ 160
pub points
10.6k
downloads

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

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

Failed check 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.

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Failed check 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.

Passed report section
Provide documentation
20 / 20trigger folding of the section

Passed check 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.new, flutter_google_places.AppBarPlacesAutoCompleteTextField.textDecoration, flutter_google_places.AppBarPlacesAutoCompleteTextField.textStyle.

Passed check 10/10 points: Package has an example

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 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

Failed check 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 report section
Pass static analysis
30 / 50trigger folding of the section

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

Found 12 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

250assert(state != null);
    │                  ^^^^^^^
    ╵
copied to clipboard

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

287assert(state != null);
    │                  ^^^^^^^
    ╵
copied to clipboard

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

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

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

Package Constraint Compatible Latest Notes
google_api_headers ^1.0.0 1.6.0 4.4.3
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.3.0
rxdart ^0.26.0 0.26.0 0.28.0
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
characters - 1.4.0 1.4.0
collection - 1.19.1 1.19.1
ffi - 2.1.4 2.1.4
http_parser - 4.1.2 4.1.2
json_annotation - 4.9.0 4.9.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.16.0 1.16.0
package_info_plus - 4.2.0 8.3.0
package_info_plus_platform_interface - 2.0.1 3.2.0
path - 1.9.1 1.9.1
plugin_platform_interface - 2.1.8 2.1.8
source_span - 1.10.1 1.10.1
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
vector_math - 2.1.4 2.1.4
win32 - 5.12.0 5.12.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.

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.20, Flutter 3.29.2, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
Jun 25Jul 23Aug 20Sep 17Oct 15Nov 12Dec 10Jan 7Feb 4Mar 402k4k6k8k10k12k14k>=0.0.0-0 <1.0.0
382
likes
110
points
10.6k
downloads

Publisher

unverified uploader

Weekly Downloads

2024.09.10 - 2025.03.25

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

Documentation

API reference

License

unknown (license)

Dependencies

flutter, google_api_headers, google_maps_webservice, http, rxdart

More

Packages that depend on flutter_google_places