pickFile method

Future<Attachment?> pickFile({
  1. String? dialogTitle,
  2. String? initialDirectory,
  3. FileType type = FileType.any,
  4. List<String>? allowedExtensions,
  5. dynamic onFileLoading(
    1. FilePickerStatus
    )?,
  6. bool allowCompression = true,
  7. bool withData = true,
  8. bool withReadStream = false,
  9. bool lockParentWindow = true,
})
inherited

Pick a file from the device.

Implementation

Future<Attachment?> pickFile({
  String? dialogTitle,
  String? initialDirectory,
  FileType type = FileType.any,
  List<String>? allowedExtensions,
  Function(FilePickerStatus)? onFileLoading,
  bool allowCompression = true,
  bool withData = true,
  bool withReadStream = false,
  bool lockParentWindow = true,
}) {
  throw UnimplementedError('pickFile is not implemented');
}