deakjahn / flutter_dropzone

A drag-and-drop Flutter plugin (Web). Only web and only from outside into Flutter.
https://pub.dev/packages/flutter_dropzone
85 stars 36 forks source link

Not supported file type should trigger error on file drop #50

Closed fralways closed 2 years ago

fralways commented 2 years ago

Hello!

We should have some kind of event when user tries to drop a file which is not in supported file type list, either trough onError callback, or some new callback. Currently, no callback is invoked, and we are unable to show any error message thus user is left thinking that something is not working.

deakjahn commented 2 years ago

Do you think this would be enough?

fralways commented 2 years ago

Thanx for fast response! Ill reopen in case i see something missing.

deakjahn commented 2 years ago

I didn't yet publish it, just uploaded here. Can you check it and confirm? I'll wait with the publishing until then.