nui_geolocator 1.0.4 nui_geolocator: ^1.0.4 copied to clipboard
A new Flutter package for geo locating
We analyzed this package 8 hours ago, and awarded it 40 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too short.
Add more detail to the description
field of pubspec.yaml
. Use 60 to 180 characters to describe the package, what it does, and its target use case.
Homepage URL doesn't exist.
At the time of the analysis http://dev.g-i.com.my/istudio/docs/core/overview/
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
0/10 points: Use an OSI-approved license
No license was recognized.
Consider using an OSI-approved license in the LICENSE
file to make it more accessible to the community.
0/10 points: 20% or more of the public API has dartdoc comments
3 out of 86 API elements (3.5 %) 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: nui_geolocator
, nui_geolocator.AreaCode
, nui_geolocator.AreaCode.AreaCode
, nui_geolocator.AreaCode.AreaCode.empty
, nui_geolocator.AreaCode.fromJson
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add 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:nui_geolocator/nui_geolocator.dart
that imports:package:nui_geolocator/ui/nui_map_selection_dialog.dart
that imports:package:nui_core/nui_core.dart
that imports:package:nui_core/ui/nui_image_util.dart
that imports:package:cached_network_image/cached_network_image.dart
that imports:package:cached_network_image/src/image_provider/cached_network_image_provider.dart
that imports:package:flutter_cache_manager/flutter_cache_manager.dart
that imports:package:flutter_cache_manager/src/storage/cache_info_repositories/cache_info_repositories.dart
that imports:package:flutter_cache_manager/src/storage/cache_info_repositories/cache_object_provider.dart
that imports:package:sqflite/sqflite.dart
that declares support for platforms:Android
,iOS
,macOS
.
Package does not support platform `Linux`.
Because:
package:nui_geolocator/nui_geolocator.dart
that imports:package:nui_geolocator/ui/nui_map_selection_dialog.dart
that imports:package:nui_core/nui_core.dart
that imports:package:nui_core/ui/nui_permission_util.dart
that imports:package:permission_handler/permission_handler.dart
that declares support for platforms:Android
,iOS
,Windows
,Web
.
Package does not support platform `macOS`.
Because:
package:nui_geolocator/nui_geolocator.dart
that imports:package:nui_geolocator/ui/nui_map_selection_dialog.dart
that imports:package:nui_core/nui_core.dart
that imports:package:nui_core/ui/nui_permission_util.dart
that imports:package:permission_handler/permission_handler.dart
that declares support for platforms:Android
,iOS
,Windows
,Web
.
Package does not support platform `Web`.
Because:
package:nui_geolocator/nui_geolocator.dart
that imports:package:nui_geolocator/ui/nui_map_selection_dialog.dart
that imports:package:nui_core/nui_core.dart
that imports:package:nui_core/ui/nui_image_util.dart
that imports:package:cached_network_image/cached_network_image.dart
that imports:package:cached_network_image/src/image_provider/cached_network_image_provider.dart
that imports:package:flutter_cache_manager/flutter_cache_manager.dart
that imports:package:flutter_cache_manager/src/storage/file_system/file_system.dart
that imports:package:flutter_cache_manager/src/storage/file_system/file_system_io.dart
that imports:package:path_provider/path_provider.dart
that declares support for platforms:Android
,iOS
,Windows
,Linux
,macOS
.
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:nui_geolocator/nui_geolocator.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:nui_geolocator/nui_geolocator.dart
that imports:package:geolocator/geolocator.dart
that imports:package:geolocator_android/geolocator_android.dart
that declares support for platforms:Android
.
0/0 points: WASM compatibility
Unable to detect compatibility with runtime wasm
, and this package will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 10 issues. Showing the first 2:
ERROR: The method 'getFont' isn't defined for the type 'NUIMapSelectionBottomSheet'.
lib/ui/nui_map_selection_dialog.dart:26:51
╷
26 │ title: Text(map.mapName, style: getFont(context, size: 14, singleColor: Colors.black),),
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/ui/nui_map_selection_dialog.dart
WARNING: The left operand can't be null, so the right operand is never executed.
lib/nui_geolocator.dart:19:34
╷
19 │ return within1MetreText ?? "Right here";
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/nui_geolocator.dart
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 |
flutter_svg |
^2.0.0+1 |
2.0.16 | 2.0.16 |
geocoding |
^2.1.0 |
2.2.2 | 3.0.0 |
geolocator |
^9.0.2 |
9.0.2 | 13.0.2 |
intl |
^0.18.0 |
0.18.1 | 0.20.1 |
location |
^4.1.1 |
4.4.0 | 7.0.1 |
map_launcher |
^2.5.0+1 |
2.5.0+1 | 3.5.0 |
nui_core |
^1.0.14 |
1.1.5 | 1.1.15 |
Transitive dependencies
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
Found 5 issues. Showing the first 2:
The constraint `^2.1.0` on geocoding does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions geocoding
to update the constraint.
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.
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 1 error:
UNDEFINED_METHOD
-lib/ui/nui_map_selection_dialog.dart:26:51
- The method 'getFont' isn't defined for the type 'NUIMapSelectionBottomSheet'.
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.22.17
, Flutter 3.27.0
, Dart 3.6.0
.
Check the analysis log for details.