flutter_map_line_editor 5.0.0 copy "flutter_map_line_editor: ^5.0.0" to clipboard
flutter_map_line_editor: ^5.0.0 copied to clipboard

A basic Line and Polygon editor for `flutter_map` using drag markers

110/ 160
pub points
6.09k
downloads

We analyzed this package 6 days ago, and awarded it 110 pub points (of a possible 160):

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Partially passed report section
Provide documentation
10 / 20trigger folding of the section

Partially passed check 0/10 points: 20% or more of the public API has dartdoc comments

0 out of 14 API elements (0.0 %) 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: flutter_map_line_editor, flutter_map_line_editor.PolyEditor, flutter_map_line_editor.PolyEditor.PolyEditor.new, flutter_map_line_editor.PolyEditor.add, flutter_map_line_editor.PolyEditor.addClosePathMarker.

Passed check 10/10 points: Package has an example

Passed report section
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

Passed check 0/0 points: WASM compatibility

This package is compatible with runtime wasm, and will be rewarded additional points in a future version of the scoring model.

See https://dart.cn/web/wasm for details.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

INFO: Missing type annotation.

lib/src/poly_editor.dart:26:21

   ╷
26 │   void updateMarker(details, point) {
   │                     ^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/poly_editor.dart

INFO: Missing type annotation.

lib/src/poly_editor.dart:26:30

   ╷
26 │   void updateMarker(details, point) {
   │                              ^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/poly_editor.dart

Failed report section
Support up-to-date dependencies
10 / 40trigger folding of the section

Failed check 0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
flutter_map_dragmarker >=4.0.0 <6.0.0 5.0.0 8.0.3
latlong2 >=0.8.0 <0.10.0 0.9.1 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
flutter_map - 5.0.0 8.2.2
http - 1.5.0 1.5.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.16.0 1.17.0
mgrs_dart - 2.0.0 2.0.0
path - 1.9.1 1.9.1
polylabel - 1.0.1 1.0.1
proj4dart - 2.1.0 2.1.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
typed_data - 1.4.0 1.4.0
unicode - 0.3.1 1.1.8
vector_math - 2.2.0 2.2.0
web - 1.1.1 1.1.1
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 `>=4.0.0 <6.0.0` on flutter_map_dragmarker does not support the stable version `6.0.0`.

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

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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 6 errors:

  • URI_DOES_NOT_EXIST - lib/src/poly_editor.dart:2:8 - Target of URI doesn't exist: 'package:flutter_map_dragmarker/flutter_map_dragmarker.dart'.
  • NON_TYPE_AS_TYPE_ARGUMENT - lib/src/poly_editor.dart:45:8 - The name 'DragMarker' isn't a type, so it can't be used as a type argument.
  • NON_TYPE_AS_TYPE_ARGUMENT - lib/src/poly_editor.dart:46:10 - The name 'DragMarker' isn't a type, so it can't be used as a type argument.

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.23, Flutter 3.35.5, Dart 3.9.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
32
likes
110
points
6.09k
downloads

Publisher

unverified uploader

Weekly Downloads

A basic Line and Polygon editor for `flutter_map` using drag markers

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_map_dragmarker, latlong2

More

Packages that depend on flutter_map_line_editor