geolocator_cn 1.1.0+6 copy "geolocator_cn: ^1.1.0+6" to clipboard
geolocator_cn: ^1.1.0+6 copied to clipboard

A service helper class that can use multiple location services at the same time.

5
likes
110/ 140
pub points
52%
popularity

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

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

10/10 points: Provide a valid pubspec.yaml

Homepage URL doesn't exist.

At the time of the analysis https://www.lookingpet.com was unreachable. Make sure that the website is reachable via HEAD requests.

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.

OK
Provide documentation
20 / 20trigger folding of the section

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

16 out of 31 API elements (51.6 %) have documentation comments.

Some symbols that are missing documentation: geolocator_cn, geolocator_cn.GeolocatorCN.providers, geolocator_cn.GeolocatorCNProviders.amap, geolocator_cn.GeolocatorCNProviders.baidu, geolocator_cn.GeolocatorCNProviders.config.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android
  • ✓ iOS

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:geolocator_cn/geolocator_cn.dart that imports:
  • package:geolocator_cn/src/providers/amap.dart that imports:
  • package:amap_flutter_location/amap_location_option.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

  • package:geolocator_cn/geolocator_cn.dart that imports:
  • package:geolocator_cn/src/providers/amap.dart that imports:
  • package:amap_flutter_location/amap_location_option.dart that declares support for platforms: Android, iOS.
Package does not support platform `macOS`.

Because:

  • package:geolocator_cn/geolocator_cn.dart that imports:
  • package:geolocator_cn/src/providers/amap.dart that imports:
  • package:amap_flutter_location/amap_location_option.dart that declares support for platforms: Android, iOS.
Package does not support platform `Web`.

Because:

  • package:geolocator_cn/geolocator_cn.dart that imports:
  • package:geolocator_cn/src/providers/amap.dart that imports:
  • package:amap_flutter_location/amap_location_option.dart that declares support for platforms: Android, iOS.
failed
Pass static analysis
30 / 50trigger folding of the section

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

WARNING: Unused import: 'dart:io'.

lib/src/providers/amap.dart:2:8

  ╷
2 │ import 'dart:io';
  │        ^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/providers/amap.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
amap_flutter_location ^3.0.0 3.0.0 3.0.0
coordtransform ^1.0.2 1.0.2 1.0.2
flutter flutter 0.0.0 0.0.0
flutter_bmflocation ^2.0.0-nullsafety.1 2.0.0-nullsafety.1 3.6.0
geolocator <=7.6.2 7.6.2 11.0.0
http ^0.13.4 0.13.6 1.2.1
permission_handler <=8.1.6 8.1.6 11.3.1
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_baidu_mapapi_base - 3.7.0 3.7.0
flutter_web_plugins - 0.0.0 0.0.0
geolocator_android - 1.0.2 4.5.4
geolocator_apple - 1.2.2 2.3.7
geolocator_platform_interface - 2.3.6 4.2.2
geolocator_web - 2.0.6 3.0.0
http_parser - 4.0.2 4.0.2
material_color_utilities - 0.8.0 0.11.1
meta - 1.11.0 1.14.0
path - 1.9.0 1.9.0
permission_handler_platform_interface - 3.12.0 4.2.1
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
uuid - 3.0.7 4.4.0
vector_math - 2.1.4 2.1.4

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

Found 4 issues. Showing the first 2:

The constraint `^2.0.0-nullsafety.1` on flutter_bmflocation does not support the stable version `3.0.0`.

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

The constraint `<=7.6.2` on geolocator does not support the stable version `7.7.0`.

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

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

Analyzed with Pana 0.22.3, Flutter 3.19.5, Dart 3.3.3.

Check the analysis log for details.

5
likes
110
pub points
52%
popularity

Publisher

unverified uploader

A service helper class that can use multiple location services at the same time.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

amap_flutter_location, coordtransform, flutter, flutter_bmflocation, geolocator, http, permission_handler

More

Packages that depend on geolocator_cn