flutter_dropzone 2.1.0 icon indicating copy to clipboard operation
flutter_dropzone: ^2.1.0 copied to clipboard

Platformweb
outdated

A drag-and-drop Flutter plugin (Web only).

139
likes
110/ 140
pub points
97%
popularity

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

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

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.

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: 20% or more of the public API has dartdoc comments

18 out of 34 API elements (52.9 %) have documentation comments.

Some symbols that are missing documentation: flutter_dropzone, CursorType, CursorType, DragOperation, DragOperation.

10/10 points: Package has an example

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 does not support platform `Android`.

Because:

  • package:flutter_dropzone/flutter_dropzone.dart that declares support for platforms: Web.
Package does not support platform `iOS`.

Because:

  • package:flutter_dropzone/flutter_dropzone.dart that declares support for platforms: Web.
Package does not support platform `Windows`.

Because:

  • package:flutter_dropzone/flutter_dropzone.dart that declares support for platforms: Web.
Package does not support platform `Linux`.

Because:

  • package:flutter_dropzone/flutter_dropzone.dart that declares support for platforms: Web.
Package does not support platform `macOS`.

Because:

  • package:flutter_dropzone/flutter_dropzone.dart that declares support for platforms: Web.
icon indicating section status
Pass static analysis
40 / 50icon to trigger folding of the section

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

Found 3 issues. Showing the first 2:

INFO: The import of 'dart:typed_data' is unnecessary because all of the used elements are also provided by the import of 'package:flutter/foundation.dart'.

lib/src/dropzone_view.dart:2:8

  ╷
2 │ import 'dart:typed_data';
  │        ^^^^^^^^^^^^^^^^^
  ╵

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

lib/flutter_dropzone.dart doesn't match the Dart formatter.

To format your files run: dart format .

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

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_dropzone_platform_interface ^2.0.0 2.0.6 2.0.6
flutter_dropzone_web ^2.1.0 2.1.1 3.0.12
Transitive dependencies
Package Constraint Compatible Latest
characters - 1.3.0 1.3.0
collection - 1.18.0 1.18.0
flutter_web_plugins - 0.0.0 0.0.0
js - 0.6.7 0.6.7
material_color_utilities - 0.5.0 0.8.0
meta - 1.10.0 1.11.0
plugin_platform_interface - 2.1.7 2.1.7
sky_engine - 0.0.99 0.0.99
vector_math - 2.1.4 2.1.4
web - 0.3.0 0.4.0

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

The constraint `^2.1.0` on flutter_dropzone_web does not support the stable version `3.0.0`.

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

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

Analyzed with Pana 0.21.43, Flutter 3.16.1, Dart 3.2.1.

Check the analysis log for details.