pickFiles method

Future<List> pickFiles({
  1. bool multiple = false,
  2. List<String> mime = const [],
})

Convenience function to display the browser File Open dialog.

Set multiple to allow picking more than one file. Returns the list of files picked by the user.

Implementation

Future<List<dynamic>> pickFiles(
    {bool multiple = false, List<String> mime = const []}) {
  return FlutterDropzonePlatform.instance
      .pickFiles(multiple, mime: mime, viewId: viewId);
}