google_places_flutter_api 1.0.1 google_places_flutter_api: ^1.0.1 copied to clipboard
Google places autocomplete customizable widget for flutter. Dart 3 compatible.
We analyzed this package 7 days ago, and awarded it 130 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
Repository URL doesn't exist.
At the time of the analysis https://github.com/fluttercommunity/google_places_flutter_api
was unreachable. Make sure that the website is reachable via HEAD
requests.
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: google_places_flutter_api
, - contains a
version
property, and, - does not contain a
publish_to
property.
- contains
Unable to access git repository: Failed to run remote show origin
.
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: BSD-3-Clause
.
10/10 points: 20% or more of the public API has dartdoc comments
40 out of 113 API elements (35.4 %) have documentation comments.
Some symbols that are missing documentation: google_places_flutter_api
, google_places_flutter_api.AppBarPlacesAutoCompleteTextField
, google_places_flutter_api.AppBarPlacesAutoCompleteTextField.AppBarPlacesAutoCompleteTextField
, google_places_flutter_api.AppBarPlacesAutoCompleteTextField.textDecoration
, google_places_flutter_api.AppBarPlacesAutoCompleteTextField.textStyle
.
10/10 points: Package has an example
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:google_places_flutter_api/google_places_flutter_api.dart
that imports:package:google_places_flutter_api/src/places_autocomplete_form_field.dart
that imports:package:google_places_flutter_api/src/places_autocomplete_field.dart
that imports:package:google_places_flutter_api/src/google_places_flutter_api.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:google_places_flutter_api/google_places_flutter_api.dart
that imports:package:google_places_flutter_api/src/places_autocomplete_form_field.dart
that imports:package:google_places_flutter_api/src/places_autocomplete_field.dart
that imports:package:google_places_flutter_api/src/google_places_flutter_api.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:google_places_flutter_api/google_places_flutter_api.dart
that imports:package:google_places_flutter_api/src/places_autocomplete_form_field.dart
that imports:package:google_places_flutter_api/src/places_autocomplete_field.dart
that imports:package:google_places_flutter_api/src/google_places_flutter_api.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:google_places_flutter_api/google_places_flutter_api.dart
that imports:package:google_places_flutter_api/src/places_autocomplete_form_field.dart
that imports:package:google_places_flutter_api/src/places_autocomplete_field.dart
that imports:package:google_places_flutter_api/src/google_places_flutter_api.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:google_places_flutter_api/google_places_flutter_api.dart
that imports:package:google_places_flutter_api/src/places_autocomplete_form_field.dart
that imports:package:google_places_flutter_api/src/places_autocomplete_field.dart
that imports:package:google_places_flutter_api/src/google_places_flutter_api.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:google_places_flutter_api/google_places_flutter_api.dart
that imports:package:google_places_flutter_api/src/places_autocomplete_form_field.dart
that imports:package:google_places_flutter_api/src/places_autocomplete_field.dart
that imports:package:google_places_flutter_api/src/google_places_flutter_api.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.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 3 issues. Showing the first 2:
INFO: 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss.
lib/src/google_places_flutter_api.dart:349:26
╷
349 │ ? Colors.black.withOpacity(0.9)
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/google_places_flutter_api.dart
INFO: 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss.
lib/src/google_places_flutter_api.dart:350:26
╷
350 │ : Colors.white.withOpacity(0.9),
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/google_places_flutter_api.dart
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 |
flutter_google_maps_webservices |
^1.0.0 |
1.1.1 | 1.1.1 |
google_api_headers |
^2.0.0 |
2.0.3 | 4.3.1 |
http |
^1.0.0 |
1.2.2 | 1.2.2 |
rxdart |
^0.27.5 |
0.27.7 | 0.28.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
async |
- | 2.12.0 | 2.12.0 |
characters |
- | 1.3.0 | 1.4.0 |
collection |
- | 1.19.0 | 1.19.1 |
ffi |
- | 2.1.3 | 2.1.3 |
flutter_web_plugins |
- | 0.0.0 | 0.0.0 |
http_parser |
- | 4.1.1 | 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.2 |
package_info_plus_platform_interface |
- | 2.0.1 | 3.0.2 |
path |
- | 1.9.1 | 1.9.1 |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 |
sky_engine |
- | 0.0.0 | 0.0.0 |
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 |
web |
- | 1.1.0 | 1.1.0 |
win32 |
- | 5.9.0 | 5.9.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^2.0.0` on google_api_headers does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions google_api_headers
to update the constraint.
The constraint `^0.27.5` on rxdart does not support the stable version `0.28.0`.
Try running dart pub upgrade --major-versions rxdart
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.17
, Flutter 3.27.0
, Dart 3.6.0
.
Check the analysis log for details.