onProgress property
Fired continuously with incremental upload progress. This returns the current percentage of the file that's been uploaded.
progress
a number from 0 to 100 representing the percentage of the file uploaded
Implementation
final void Function(double progress )? onProgress;