pickFile method
Future<Attachment?>
pickFile({
- String? dialogTitle,
- String? initialDirectory,
- FileType type = FileType.any,
- List<
String> ? allowedExtensions, - dynamic onFileLoading(
- FilePickerStatus
- bool allowCompression = true,
- bool withData = true,
- bool withReadStream = false,
- 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');
}