You can not save this document with extension ".pdf" at the end of the name. The required extension is "..pdf"
Hello
I try to save a file on Mac with file_picker_cross 4.2.6
This is how i get the file:
onPressed: () async {
controller.fileResult =
await FilePickerCross.importFromStorage(
type: FileTypeCross.any);
if (!controller.fileResult.isNullOrBlank)
controller.filePath = controller.fileResult.path;
controller.update();
},
and thats how I want to save it:
onPressed: () async {
controller.fileResult.exportToStorage();
},
But unfortunately on saving the file to new location, it says I can't save with this ending. Instead i should use ending with two points before.
PS: I use it along GetX.
Best regards Marc