user_live_location 0.0.3
user_live_location: ^0.0.3 copied to clipboard
user_live_location offers you how to get the geographic location of a user or device on a Google map.
We analyzed this package 25 days ago, and awarded it 100 pub points (of a possible 160):
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: BSD-3-Clause.
0/10 points: 20% or more of the public API has dartdoc comments
1 out of 37 API elements (2.7 %) 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: AppObservableModel, AppObservableModel.AppObservableModel, AppObservableModel.AppObservableModel.AppObservableModel.empty, AppObservableModel.AppObservableModel.AppObservableModel.new, AppObservableModel.AppObservableModel.currentLocation.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Web
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:user_live_location/live_location.dartthat imports:package:user_live_location/presentation/widgets/LiveLocationWidget.dartthat imports:package:user_live_location/models/AppObservableModel.dartthat imports:package:location/location.dartthat declares support for platforms:Android,iOS,macOS,Web.
Package does not support platform `Linux`.
Because:
package:user_live_location/live_location.dartthat imports:package:user_live_location/presentation/widgets/LiveLocationWidget.dartthat imports:package:user_live_location/models/AppObservableModel.dartthat imports:package:location/location.dartthat declares support for platforms:Android,iOS,macOS,Web.
Package does not support platform `macOS`.
Because:
package:user_live_location/live_location.dartthat imports:package:user_live_location/presentation/widgets/LiveLocationWidget.dartthat imports:package:user_live_location/models/AppObservableModel.dartthat imports:package:google_maps_flutter/google_maps_flutter.dartthat declares support for platforms:Android,iOS,Web.
These issues are present but do not affect the score, because they may not originate in your package:
Package does not support platform `iOS`.
Because:
package:user_live_location/live_location.dartthat imports:package:user_live_location/presentation/widgets/LiveLocationWidget.dartthat imports:package:user_live_location/models/AppObservableModel.dartthat imports:package:google_maps_flutter/google_maps_flutter.dartthat imports:package:google_maps_flutter_android/google_maps_flutter_android.dartthat declares support for platforms:Android.
Package does not support platform `Web`.
Because:
package:user_live_location/live_location.dartthat imports:package:user_live_location/presentation/widgets/LiveLocationWidget.dartthat imports:package:user_live_location/models/AppObservableModel.dartthat imports:package:google_maps_flutter/google_maps_flutter.dartthat imports:package:google_maps_flutter_android/google_maps_flutter_android.dartthat declares support for platforms:Android.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:user_live_location/live_location.dartthat imports:package:user_live_location/presentation/widgets/LiveLocationWidget.dartthat imports:package:user_live_location/models/AppObservableModel.dartthat imports:package:location/location.dartthat imports:package:location_platform_interface/location_platform_interface.dartthat 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.cn/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 5 issues. Showing the first 2:
INFO: The file name 'AppObservableModel.dart' isn't a lower_case_with_underscores identifier.
To reproduce make sure you are using the lints_core and run flutter analyze lib/models/AppObservableModel.dart
INFO: The file name 'LiveLocationWidget.dart' isn't a lower_case_with_underscores identifier.
To reproduce make sure you are using the lints_core and run flutter analyze lib/presentation/widgets/LiveLocationWidget.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
cupertino_icons |
^1.0.5 |
1.0.8 | 1.0.8 | |
flutter_lints |
^1.0.0 |
1.0.4 | 6.0.0 | |
flutter_polyline_points |
^1.0.0 |
1.0.0 | 3.1.0 | |
google_maps_flutter |
^2.0.9 |
2.14.0 | 2.14.0 | |
location |
^4.4.0 |
4.4.0 | 8.0.1 | |
provider |
^6.0.1 |
6.1.5+1 | 6.1.5+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 | |
csslib |
- | 1.0.2 | 1.0.2 | |
flutter_plugin_android_lifecycle |
- | 2.0.33 | 2.0.33 | |
google_maps |
- | 8.2.0 | 8.2.0 | |
google_maps_flutter_android |
- | 2.18.6 | 2.18.6 | |
google_maps_flutter_ios |
- | 2.15.7 | 2.15.7 | |
google_maps_flutter_platform_interface |
- | 2.14.1 | 2.14.1 | |
google_maps_flutter_web |
- | 0.5.14+3 | 0.5.14+3 | |
html |
- | 0.15.6 | 0.15.6 | |
http |
- | 0.13.6 | 1.6.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
js |
- | 0.6.7 | 0.7.2 | Discontinued |
lints |
- | 1.0.1 | 6.0.0 | |
location_platform_interface |
- | 2.3.0 | 6.0.1 | |
location_web |
- | 3.1.1 | 6.0.1 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.17.0 | |
nested |
- | 1.0.0 | 1.0.0 | |
path |
- | 1.9.1 | 1.9.1 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
sanitize_html |
- | 2.1.0 | 2.1.0 | |
source_span |
- | 1.10.1 | 1.10.1 | |
stream_transform |
- | 2.1.1 | 2.1.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.2.0 | 2.2.0 | |
web |
- | 1.1.1 | 1.1.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 3 issues. Showing the first 2:
The constraint `^1.0.0` on flutter_lints does not support the stable version `2.0.0`.
Try running dart pub upgrade --major-versions flutter_lints to update the constraint.
The constraint `^1.0.0` on flutter_polyline_points does not support the stable version `2.0.0`.
Try running dart pub upgrade --major-versions flutter_polyline_points to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 4 errors:
CONST_WITH_NON_CONST-lib/presentation/widgets/LiveLocationWidget.dart:211:35- The constructor being called isn't a const constructor.CONST_WITH_NON_CONST-lib/presentation/widgets/LiveLocationWidget.dart:219:33- The constructor being called isn't a const constructor.CONST_WITH_NON_CONST-lib/presentation/widgets/LiveLocationWidget.dart:225:33- The constructor being called isn't a const constructor.
Run flutter pub downgrade and then flutter analyze to reproduce the above problem.
You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.23.3, Flutter 3.38.4, Dart 3.10.3.
Check the analysis log for details.