Skip to content

How to handle unpicked files? #74

@amiitpatil

Description

@amiitpatil

await never resolves if user didn't pick a file
Print statement will not get executed if user closes the picker dialog, also no error is thrown

Future fun()async{
final files = await _dropzoneController?.pickFiles();
print("reached here");
}

cc: @deakjahn

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions