Progress callback receives pass, totalPass and the progress percentage (%) on the pass.
pass
totalPass
percentage
typedef ProgressCallback = void Function( int pass, int totalPass, int percentage);