unable to save file in windows platform when filepath parameter is given.
(due to path separator is hard coded in -- ( FileSaver.saveFileOnly (package:file_saver/file_saver.dart:113:15)
return (await file.copy('$applicationDirectory/$name$ext')).path;)
FileSaver.instance.saveFile function return file as 'C:\Users\username\Downloads/image1.png' instead of this 'C:\Users\username\Downloads\image1.png'
Thank you for developing this fantastic plugin!
unable to save file in windows platform when filepath parameter is given. (due to path separator is hard coded in -- ( FileSaver.saveFileOnly (package:file_saver/file_saver.dart:113:15) return (await file.copy('$applicationDirectory/$name$ext')).path;)
FileSaver.instance.saveFile function return file as 'C:\Users\username\Downloads/image1.png' instead of this 'C:\Users\username\Downloads\image1.png'