Closed Nimo11 closed 3 weeks ago
Sample code hang when trying to save.
There is no bytes when calling save method.
Future _saveFile() async { _resetState(); try { String? fileName = await FilePicker.platform.saveFile( allowedExtensions: (_extension?.isNotEmpty ?? false) ? _extension?.replaceAll(' ', '').split(',') : null, type: _pickingType, dialogTitle: _dialogTitleController.text, fileName: _defaultFileNameController.text, initialDirectory: _initialDirectoryController.text, lockParentWindow: _lockParentWindow, bytes: Uint8List(100)); <-- missing paramters
Thanks for your job
This issue is stale because it has been open for 7 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.
Sample code hang when trying to save.
There is no bytes when calling save method.
Future _saveFile() async {
_resetState();
try {
String? fileName = await FilePicker.platform.saveFile(
allowedExtensions: (_extension?.isNotEmpty ?? false) ? _extension?.replaceAll(' ', '').split(',') : null,
type: _pickingType,
dialogTitle: _dialogTitleController.text,
fileName: _defaultFileNameController.text,
initialDirectory: _initialDirectoryController.text,
lockParentWindow: _lockParentWindow,
bytes: Uint8List(100)); <-- missing paramters
Thanks for your job