picFile method

Future<File?> picFile()

Opens the system file picker to select a document.

Returns the selected file's path if successful, otherwise null.

Implementation

Future<File?> picFile() {
  return DocumentPicker().picFile();
}