ios_document_picker 0.2.0 ios_document_picker: ^0.2.0 copied to clipboard
Flutter wrapper of iOS UIDocumentPickerViewController.
ios_document_picker #
Flutter wrapper of iOS UIDocumentPickerViewController
.
Usage #
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);
Options #
allowedUtiTypes
: List of allowed UTI types.multiple
: Allow multiple selection.