flutter_map_dragmarker 4.1.3
flutter_map_dragmarker: ^4.1.3 copied to clipboard
Dragmarker class for flutter_map
We analyzed this package 7 days ago, and awarded it 110 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 50 to 180 characters to describe the package, what it does, and its target use case.
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.
10/10 points: 20% or more of the public API has dartdoc comments
24 out of 39 API elements (61.5 %) have documentation comments.
Some symbols that are missing documentation: flutter_map_dragmarker, flutter_map_dragmarker.DragMarker.DragMarker.new, flutter_map_dragmarker.DragMarker.inMapBounds, flutter_map_dragmarker.DragMarkerWidget, flutter_map_dragmarker.DragMarkerWidget.DragMarkerWidget.new.
10/10 points: Package has an example
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:flutter_map_dragmarker/flutter_map_dragmarker.dartthat imports:package:flutter_map_dragmarker/src/drag_marker_widget.dartthat imports:package:flutter_map_dragmarker/src/drag_marker.dartthat imports:package:flutter_map/plugin_api.dartthat imports:package:flutter_map/src/map/map.dartthat imports:package:flutter_map/src/map/flutter_map_state.dartthat imports:package:flutter_map/src/gestures/gestures.dartthat imports:package:flutter_map/flutter_map.dartthat imports:package:flutter_map/src/layer/tile_layer/tile_provider/tile_provider_io.dartthat imports:package:flutter_map/src/layer/tile_layer/tile_provider/network_no_retry_image_provider.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.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 3 issues. Showing the first 2:
INFO: Missing type annotation.
lib/src/drag_marker_widget.dart:84:24
╷
84 │ void _updatePixelPos(point) {
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/drag_marker_widget.dart
INFO: Missing type annotation.
lib/src/drag_marker_widget.dart:160:18
╷
160 │ void _onPanEnd(details) {
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/drag_marker_widget.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
flutter_map |
>=3.0.0 <5.0.0 |
4.0.0 | 8.2.2 | |
latlong2 |
>=0.8.0 <0.9.0 |
0.8.2 | 0.9.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
characters |
- | 1.4.0 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
http |
- | 0.13.6 | 1.6.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
intl |
- | 0.20.2 | 0.20.2 | |
lists |
- | 1.0.1 | 1.0.1 | Discontinued |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.17.0 | |
mgrs_dart |
- | 2.0.0 | 3.0.0 | |
path |
- | 1.9.1 | 1.9.1 | |
polylabel |
- | 1.0.1 | 1.0.1 | |
proj4dart |
- | 2.1.0 | 3.0.0 | |
source_span |
- | 1.10.1 | 1.10.1 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
tuple |
- | 2.0.2 | 2.0.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
unicode |
- | 0.3.1 | 1.1.8 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
wkt_parser |
- | 2.0.0 | 2.0.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `>=3.0.0 <5.0.0` on flutter_map does not support the stable version `5.0.0`.
Try running dart pub upgrade --major-versions flutter_map to update the constraint.
The constraint `>=0.8.0 <0.9.0` on latlong2 does not support the stable version `0.9.0`.
Try running dart pub upgrade --major-versions latlong2 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:
CONST_EVAL_THROWS_EXCEPTION-lib/src/drag_marker_widget.dart:24:23- Evaluation of this constant expression throws an exception.
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.