I've been using flutter_dropzone and it's been working well for me. However, I ran into a mysterious issue in my app where there was flashing when new elements were being loaded. After a bunch of debugging I realized that it was coming from the DropzoneView rendering a CircularProgressIndicator for a single frame.
As it is currently written, there's no way for a consumer of the library to configure or suppress the circular progress indicator. Given that this is supposed to be a functional widget and not a display widget, I think the right thing to do is actually not to display anything at all but to provide enough context to callers that they can render that how they would like (if at all).
Alternatively, I think it would be nice to have an option to disable the default loading behavior, if you want to provide a simple out of the box experience that supports providing loading information.
Thanks!
Matt
I've been using flutter_dropzone and it's been working well for me. However, I ran into a mysterious issue in my app where there was flashing when new elements were being loaded. After a bunch of debugging I realized that it was coming from the DropzoneView rendering a CircularProgressIndicator for a single frame.
As it is currently written, there's no way for a consumer of the library to configure or suppress the circular progress indicator. Given that this is supposed to be a functional widget and not a display widget, I think the right thing to do is actually not to display anything at all but to provide enough context to callers that they can render that how they would like (if at all).
Alternatively, I think it would be nice to have an option to disable the default loading behavior, if you want to provide a simple out of the box experience that supports providing loading information.
Thanks!
Matt