drop_zone 1.0.2 copy "drop_zone: ^1.0.2" to clipboard
drop_zone: ^1.0.2 copied to clipboard

Platformweb

A simple way to bring drag’n’drop to flutter web. drop_zone is commonly used for file choosing by dragging and dropping a file(s) onto a designated widget. The user can then use the dropped html file(s).

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add drop_zone
copied to clipboard

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  drop_zone: ^1.0.2
copied to clipboard

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

Import it

Now in your Dart code, you can use:

import 'package:drop_zone/drop_zone.dart';
copied to clipboard
44
likes
130
points
36.2k
downloads

Publisher

unverified uploader

Weekly Downloads

2024.09.13 - 2025.03.28

A simple way to bring drag’n’drop to flutter web. drop_zone is commonly used for file choosing by dragging and dropping a file(s) onto a designated widget. The user can then use the dropped html file(s).

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on drop_zone