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

367
likes
90/ 140
pub points
98%
popularity

We analyzed this package 4 days ago, and awarded it 90 pub points (of a possible 140):

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 87 API elements (33.3 %) 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

OK
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
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
10 / 20trigger 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 3.8.4
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.1
rxdart ^0.26.0 0.26.0 0.27.7
Transitive dependencies
Package Constraint Compatible Latest
async - 2.11.0 2.11.0
characters - 1.3.0 1.3.0
collection - 1.18.0 1.18.0
ffi - 2.1.2 2.1.2
flutter_web_plugins - 0.0.0 0.0.0
http_parser - 4.0.2 4.0.2
json_annotation - 4.8.1 4.8.1
material_color_utilities - 0.8.0 0.11.1
meta - 1.11.0 1.12.0
package_info_plus - 4.2.0 6.0.0
package_info_plus_platform_interface - 2.0.1 2.0.1
path - 1.9.0 1.9.0
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.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
vector_math - 2.1.4 2.1.4
win32 - 5.3.0 5.3.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

Analyzed with Pana 0.22.2, Flutter 3.19.2, Dart 3.3.0.

Check the analysis log for details.

367
likes
90
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