Flutter wrapper of iOS UIDocumentPickerViewController
.
import 'package:ios_document_picker/ios_document_picker.dart';
final _iosDocumentPickerPlugin = IosDocumentPicker();
var result = await _iosDocumentPickerPlugin.pick(/* DocumentPickerType.file or directory */);
if (result == null) {
// Cancelled.
return;
}
print(result.url);
print(result.path);
allowedUtiTypes
: List of allowed UTI types.multiple
: Allow multiple selection.