location_cn 1.2.0+1
location_cn: ^1.2.0+1 copied to clipboard
A service helper class that can use multiple location services at the same time.
We analyzed this package 4 hours ago, and awarded it 130 pub points (of a possible 160):
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.
Repository URL doesn't exist.
At the time of the analysis https://github.com/fast-flutter/location_cn was unreachable. Make sure that the website is reachable via HEAD requests.
Issue tracker URL doesn't exist.
At the time of the analysis https://github.com/fast-flutter/location_cn/issues 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.
10/10 points: 20% or more of the public API has dartdoc comments
16 out of 34 API elements (47.1 %) have documentation comments.
Some symbols that are missing documentation: location_cn, location_cn.LocationCn.LocationCn.new, location_cn.LocationCn.providers, location_cn.LocationCnProviders.LocationCnProviders.new, location_cn.LocationCnProviders.amap.
10/10 points: Package has an example
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:location_cn/location_cn.dartthat imports:package:location_cn/src/providers/amap.dartthat imports:package:amap_flutter_location/amap_location_option.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Linux`.
Because:
package:location_cn/location_cn.dartthat imports:package:location_cn/src/providers/amap.dartthat imports:package:amap_flutter_location/amap_location_option.dartthat declares support for platforms:Android,iOS.
Package does not support platform `macOS`.
Because:
package:location_cn/location_cn.dartthat imports:package:location_cn/src/providers/amap.dartthat imports:package:amap_flutter_location/amap_location_option.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Web`.
Because:
package:location_cn/location_cn.dartthat imports:package:location_cn/src/providers/amap.dartthat imports:package:amap_flutter_location/amap_location_option.dartthat declares support for platforms:Android,iOS.
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:location_cn/location_cn.dartthat imports:package:location_cn/src/providers/system.dartthat imports:package:geolocator/geolocator.dartthat imports:package:geolocator_apple/geolocator_apple.dartthat declares support for platforms:iOS,macOS.
Package does not support platform `iOS`.
Because:
package:location_cn/location_cn.dartthat imports:package:location_cn/src/providers/system.dartthat imports:package:geolocator/geolocator.dartthat imports:package:geolocator_android/geolocator_android.dartthat declares support for platforms:Android.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 3 issues. Showing the first 2:
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
INFO: Missing type annotation.
lib/src/providers/amap.dart:29:3
╷
29 │ _init() async {
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/providers/amap.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
amap_flutter_location |
^3.0.0 |
3.0.0 | 3.0.0 | |
coordtransform |
^1.0.2 |
1.0.2 | 1.0.2 | |
flutter_bmflocation |
^2.0.0-nullsafety.1 |
2.0.0-nullsafety.1 | 3.8.3+2 | |
geolocator |
^8.0.0 |
8.2.1 | 14.0.2 | |
http |
^0.13.4 |
0.13.6 | 1.6.0 | |
permission_handler |
^8.3.0 |
8.3.0 | 12.0.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.7 | 3.0.7 | |
flutter_baidu_mapapi_base |
- | 3.9.8+1 | 3.9.8+1 | |
geolocator_android |
- | 3.2.1 | 5.0.2 | |
geolocator_apple |
- | 2.3.13 | 2.3.13 | |
geolocator_platform_interface |
- | 4.2.6 | 4.2.6 | |
geolocator_web |
- | 2.2.1 | 4.1.3 | |
geolocator_windows |
- | 0.1.3 | 0.2.5 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.18.0 | |
path |
- | 1.9.1 | 1.9.1 | |
permission_handler_platform_interface |
- | 3.12.0 | 4.3.0 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
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 | |
uuid |
- | 3.0.7 | 4.5.2 | |
vector_math |
- | 2.2.0 | 2.2.0 |
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 `^8.0.0` on geolocator does not support the stable version `9.0.0`.
Try running dart pub upgrade --major-versions geolocator 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.23.5, Flutter 3.38.6, Dart 3.10.7.
Check the analysis log for details.