file_drag_and_drop 0.0.2 copy "file_drag_and_drop: ^0.0.2" to clipboard
file_drag_and_drop: ^0.0.2 copied to clipboard

PlatformmacOS

A flutter deskstop package that allows you to drag the native file into app support.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add file_drag_and_drop

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

dependencies:
  file_drag_and_drop: ^0.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:file_drag_and_drop/drag_container_listener.dart';
import 'package:file_drag_and_drop/file_drag_and_drop_channel.dart';
import 'package:file_drag_and_drop/file_result.dart';
3
likes
110
pub points
43%
popularity

Publisher

unverified uploader

A flutter deskstop package that allows you to drag the native file into app support.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on file_drag_and_drop