flutter_dropzone_web 1.0.5

  • Readme
  • Changelog
  • Installing
  • 76

flutter_dropzone_web #

The web implementation of flutter_dropzone.

Usage #

Import the package #

This package is the endorsed implementation of flutter_dropzone for the web platform, so it gets automatically added to your dependencies by depending on flutter_dropzone.

No modifications to your pubspec.yaml should be required in a recent enough version of Flutter (>=1.12.13+hotfix.4):

...
dependencies:
  ...
  flutter_dropzone: ^1.0.0
  ...

Once you have flutter_dropzone in pubspec.yaml you should be able to use package:flutter_dropzone as normal.

[1.0.5] - 2020-06-23 #

[1.0.4] - 2020-06-18 #

  • Support for onLeave #2.

[1.0.3] - 2020-06-18 #

  • Support for onHover #2.

[1.0.2] - 2020-06-02 #

  • CanvasKit support.

[1.0.1] - 2020-05-29 #

  • Fixing #1.

[1.0.0] - 2020-05-29 #

  • Initial release.

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  flutter_dropzone_web: ^1.0.5

2. Install it

You can install packages from the command line:

with Flutter:


$ flutter pub get

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:flutter_dropzone_web/flutter_dropzone_web.dart';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
64
Health:
Code health derived from static analysis. [more]
100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
72
Overall:
Weighted score of the above. [more]
76
Learn more about scoring.

We analyzed this package on Jul 10, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.8.4
  • pana: 0.13.14
  • Flutter: 1.17.5

Analysis suggestions

Package does not support Flutter platform android

Because:

  • package:flutter_dropzone_web/flutter_dropzone_web.dart that declares support for platforms: web

Package does not support Flutter platform ios

Because:

  • package:flutter_dropzone_web/flutter_dropzone_web.dart that declares support for platforms: web

Package does not support Flutter platform linux

Because:

  • package:flutter_dropzone_web/flutter_dropzone_web.dart that declares support for platforms: web

Package does not support Flutter platform macos

Because:

  • package:flutter_dropzone_web/flutter_dropzone_web.dart that declares support for platforms: web

Package does not support Flutter platform windows

Because:

  • package:flutter_dropzone_web/flutter_dropzone_web.dart that declares support for platforms: web

Package not compatible with SDK dart

Because:

  • flutter_dropzone_web that is a package requiring null.

Health suggestions

Format lib/flutter_dropzone_plugin.dart.

Run flutter format to format lib/flutter_dropzone_plugin.dart.

Format lib/flutter_dropzone_web.dart.

Run flutter format to format lib/flutter_dropzone_web.dart.

Format lib/html_element_view.dart.

Run flutter format to format lib/html_element_view.dart.

Maintenance suggestions

The package description is too short. (-18 points)

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.

Maintain an example. (-10 points)

Create a short demo in the example/ directory to show how to use this package.

Common filename patterns include main.dart, example.dart, and flutter_dropzone_web.dart. Packages with multiple examples should provide example/README.md.

For more information see the pub package layout conventions.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.7.0 <3.0.0
flutter 0.0.0
flutter_dropzone_platform_interface ^1.0.2 1.0.2
flutter_web_plugins 0.0.0
js ^0.6.1+1 0.6.2
Transitive dependencies
collection 1.14.12 1.14.13
meta 1.1.8 1.2.2
plugin_platform_interface 1.0.2
sky_engine 0.0.99
typed_data 1.1.6 1.2.0
vector_math 2.0.8 2.1.0-nullsafety
Dev dependencies
flutter_test
pedantic ^1.9.0