places_service 0.1.4 copy "places_service: ^0.1.4" to clipboard
places_service: ^0.1.4 copied to clipboard

A service that makes it easy to get information from the Places Api

27
likes
120/ 160
pub points
268
downloads

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

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

Passed check 10/10 points: Provide a valid pubspec.yaml

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

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

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Partially passed report section
Provide documentation
10 / 20trigger folding of the section

Partially passed check 0/10 points: 20% or more of the public API has dartdoc comments

5 out of 46 API elements (10.9 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: places_service, places_service.PlacesApiException.PlacesApiException.new, places_service.PlacesApiException.exception, places_service.PlacesApiException.message, places_service.PlacesAutoCompleteResult.

Passed check 10/10 points: Package has an example

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

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ macOS

  • ✓ Web

These platforms are not supported:

Package does not support platform `Linux`.

Because:

  • package:places_service/places_service.dart that imports:
  • package:places_service/src/places_service.dart that imports:
  • package:geolocator/geolocator.dart that declares support for platforms: Android, iOS, Windows, 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:places_service/places_service.dart that imports:
  • package:places_service/src/places_service.dart that imports:
  • package:geolocator/geolocator.dart that imports:
  • package:geolocator_apple/geolocator_apple.dart that declares support for platforms: iOS, macOS.
Package does not support platform `iOS`.

Because:

  • package:places_service/places_service.dart that imports:
  • package:places_service/src/places_service.dart that imports:
  • package:geolocator/geolocator.dart that imports:
  • package:geolocator_android/geolocator_android.dart that declares support for platforms: Android.
Package does not support platform `Windows`.

Because:

  • package:places_service/places_service.dart that imports:
  • package:places_service/src/places_service.dart that imports:
  • package:geolocator/geolocator.dart that imports:
  • package:geolocator_apple/geolocator_apple.dart that declares support for platforms: iOS, macOS.
Package does not support platform `macOS`.

Because:

  • package:places_service/places_service.dart that imports:
  • package:places_service/src/places_service.dart that imports:
  • package:geolocator/geolocator.dart that imports:
  • package:geolocator_android/geolocator_android.dart that declares support for platforms: Android.
Package does not support platform `Web`.

Because:

  • package:places_service/places_service.dart that imports:
  • package:places_service/src/places_service.dart that imports:
  • package:geolocator/geolocator.dart that imports:
  • package:geolocator_apple/geolocator_apple.dart that declares support for platforms: iOS, macOS.

Passed check 0/0 points: WASM compatibility

This package is compatible with runtime wasm, and will be rewarded additional 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 11 issues. Showing the first 2:

WARNING: The parameter type of '==' operators should be non-nullable.

lib/src/models/application_models.freezed.dart:261:17

    ╷
261 │   bool operator ==(dynamic other) {
    │                 ^^
    ╵

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

WARNING: The parameter type of '==' operators should be non-nullable.

lib/src/models/application_models.freezed.dart:491:17

    ╷
491 │   bool operator ==(dynamic other) {
    │                 ^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/models/application_models.freezed.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
freezed_annotation ^2.4.1 2.4.4 3.0.0
geolocator ^11.0.0 11.1.0 14.0.0
google_maps_webservice_ex ^0.0.1+2 0.0.1+2 0.0.1+2
json_annotation ^4.8.1 4.9.0 4.9.0
uuid ^4.3.3 4.5.1 4.5.1
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
crypto - 3.0.6 3.0.6
fixnum - 1.1.1 1.1.1
geolocator_android - 4.6.2 5.0.1+1
geolocator_apple - 2.3.13 2.3.13
geolocator_platform_interface - 4.2.6 4.2.6
geolocator_web - 3.0.0 4.1.3
geolocator_windows - 0.2.5 0.2.5
http - 0.13.6 1.3.0
http_parser - 4.1.2 4.1.2
material_color_utilities - 0.11.1 0.12.0
meta - 1.16.0 1.16.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
sprintf - 7.0.0 7.0.0
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.5

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

The constraint `^2.4.1` on freezed_annotation does not support the stable version `3.0.0`.

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

The constraint `^11.0.0` on geolocator does not support the stable version `12.0.0`.

Try running dart pub upgrade --major-versions geolocator 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:
27
likes
120
points
268
downloads

Publisher

verified publisherfilledstacks.com

Weekly Downloads

A service that makes it easy to get information from the Places Api

Homepage

Documentation

API reference

License

MIT (license)

Dependencies

flutter, freezed_annotation, geolocator, google_maps_webservice_ex, json_annotation, uuid

More

Packages that depend on places_service