'''onProgress: (UploadProgress progress) { print(progress.toString() +"Progress"); }, );'''
storage.createFile( bucketId: 'bucketid', fileId: ID.unique(), file: InputFile.fromPath(path: filePath, filename: fileName), onProgress: (UploadProgress progress) { print(progress.toString() +"Progress"); }, );
don't use progress.toString(). access the fields individually
it's usually a bad idea to do toString() because objects may not serialize to string like you expect
ok
Recommended threads
- Push Notification FCM Error
Hello dear people. I tried to integrate Push Notifications into my Flutter App. Everything works fine on Android/iOS Simulator + Testflight but as soon as I s...
- Skip total counts crash the query
Hello, When adding the total parameter (either true, the default, or false) to the listRows function, it raises the following error: `type 'bool' is not a sub...
- Attach Dart debugger for locally deploye...
Hello there, I was wondering if it is possible to attach debugger to dart function, that I run locally. It would make development much easier :-). Thank you.