PrismSyncStatus constructor

const PrismSyncStatus({
  1. Key? key,
  2. required PrismSyncSnapshot snapshot,
  3. bool showLabel = true,
  4. VoidCallback? onRetry,
  5. String retryLabel = 'Retry',
  6. bool compact = false,
})

Creates a sync status indicator.

Implementation

const PrismSyncStatus({
  super.key,
  required this.snapshot,
  this.showLabel = true,
  this.onRetry,
  this.retryLabel = 'Retry',
  this.compact = false,
});