Code snippets and guidelines for common scenarios
downloadProgress
property from the
SyncStatus class.
downloadProgress.downloadedFraction
gives you a value from 0.0 to 1.0 representing the total sync progress. This is especially useful for long-running initial syncs.
As an example, this widget renders a progress bar when a download is active: