dnd 2.0.1 icon indicating copy to clipboard operation
dnd: ^2.0.1 copied to clipboard

Platformweb

Drag and Drop for Dart web apps with mouse and touch support.

48
likes
120/ 140
pub points
85%
popularity

We analyzed this package 7 days ago, and awarded it 120 pub points (of a possible 140):

icon indicating section status
Follow Dart file conventions
30 / 30icon to trigger folding of the section

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: MIT.

icon indicating section status
Provide documentation
20 / 20icon to trigger folding of the section

10/10 points: Package has an example

10/10 points: 20% or more of the public API has dartdoc comments

  • 84 out of 91 API elements (92.3 %) have documentation comments.
icon indicating section status
Platform support
20 / 20icon to trigger folding of the section

20/20 points: Supports 1 of 6 possible platforms (iOS, Android, Web, Windows, MacOS, Linux)

  • ✓ Web

These platforms are not supported:

Package not compatible with platform Android

Because:

  • package:dnd/dnd.dart that imports:
  • dart:js
Package not compatible with platform iOS

Because:

  • package:dnd/dnd.dart that imports:
  • dart:js
Package not compatible with platform Windows

Because:

  • package:dnd/dnd.dart that imports:
  • dart:js
Package not compatible with platform Linux

Because:

  • package:dnd/dnd.dart that imports:
  • dart:js
Package not compatible with platform macOS

Because:

  • package:dnd/dnd.dart that imports:
  • dart:js
icon indicating section status
Pass static analysis
30 / 50icon to trigger folding of the section

30/50 points: code has no errors, warnings, lints, or formatting issues

Found 3 issues. Showing the first 2:

WARNING: Unnecessary type check; the result is always 'true'.

lib/src/draggable_manager.dart:183:9

    ╷
183 │     if (target is Element &&
    │         ^^^^^^^^^^^^^^^^^
    ╵

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

INFO: Missing a deprecation message.

lib/src/draggable.dart:62:3

   ╷
62 │   @deprecated
   │   ^^^^^^^^^^^
   ╵

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

icon indicating section status
Support up-to-date dependencies
20 / 20icon to trigger folding of the section

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

No dependencies.

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

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

Analysed with Pana 0.21.37, Dart 3.1.2.

48
likes
120
pub points
85%
popularity

Publisher

verified publisher iconjakobservices.ch

Drag and Drop for Dart web apps with mouse and touch support.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

Icon for licenses.MIT (LICENSE)

More

Packages that depend on dnd