flutter_dropzone
flutter_dropzone copied to clipboard
Suggestion: Add a dispose function to the widget
I have a chat app. Every chat builds its own dropzone widget, when I open a chat and send some files to the conversation everything works fine. However, when I open a second chat after that and I try to send another file in this new chat, it sends the file to the first chat. Maybe it's because the widget that comes with the packages does not have a dispose function, then it causes this bug. If you could just add a dispose to the widget, I would appreciate it. Thanks and best regards!
I'm not sure it's a question of disposal as every zone should have its link to the handler by a unique id. Could you possible create a minimal sample that reproduces the problem and helps us test?