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

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

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';
43
likes
120
pub points
88%
popularity

Publisher

unverified uploader

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)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on drop_zone