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

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

24
likes
100/ 140
pub points
87%
popularity

We analyzed this package 31 hours ago, and awarded it 100 pub points (of a possible 140):

OK
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

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: MIT.

partial
Provide documentation
10 / 20trigger folding of the section

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

5 out of 45 API elements (11.1 %) 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.

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

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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.
failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 29 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: This API is available since SDK 2.14.0, but constraints '>=2.12.0 <3.0.0' don't guarantee it.

lib/src/models/application_models.freezed.dart:283:30

    ╷
283 │   int get hashCode => Object.hash(runtimeType, placeId, streetNumber,
    │                              ^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/models/application_models.freezed.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
freezed_annotation ^2.2.0 2.4.1 2.4.1
geolocator ^9.0.2 9.0.2 12.0.0
google_maps_webservice_ex ^0.0.1+2 0.0.1+2 0.0.1+2
json_annotation ^4.7.0 4.9.0 4.9.0
tuple ^2.0.1 2.0.2 2.0.2
uuid ^3.0.7 3.0.7 4.4.0
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
crypto - 3.0.3 3.0.3
flutter_web_plugins - 0.0.0 0.0.0
geolocator_android - 4.3.1 4.6.0
geolocator_apple - 2.3.7 2.3.7
geolocator_platform_interface - 4.2.3 4.2.3
geolocator_web - 2.2.1 4.0.0
geolocator_windows - 0.1.3 0.2.3
http - 0.13.6 1.2.1
http_parser - 4.0.2 4.0.2
material_color_utilities - 0.8.0 0.11.1
meta - 1.12.0 1.15.0
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

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

The constraint `^9.0.2` on geolocator does not support the stable version `10.0.0`.

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

The constraint `^3.0.7` on uuid does not support the stable version `4.0.0`.

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

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

Analyzed with Pana 0.22.3, Flutter 3.22.0, Dart 3.4.0.

Check the analysis log for details.

24
likes
100
pub points
87%
popularity

Publisher

verified publisherfilledstacks.com

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, tuple, uuid

More

Packages that depend on places_service