# Sync progress list

Canonical page: https://docs.ovok.com/flutter-sdk/reference/ovok_flutter/sync-progress-list

{/* Generated by scripts/generate_reference.dart; do not edit. */}

## SyncProgressList [#syncprogresslist]

```dart
class SyncProgressList extends StatelessWidget
```

Lists sync progress for each configured data type.

### Constructors [#constructors]

#### SyncProgressList.new [#syncprogresslistnew]

```dart
SyncProgressList({
  Map<String, SyncProgress>? progress,
  String Function(String)? labelForType,
  Map<SyncProgressStatus, String> statusLabels = const {},
  Map<SyncPauseReason, String> reasonLabels = const {},
  Key? key,
})
```

Creates a sync progress list.

| Parameter | Type | Kind | Default |
| ------ | ------ | ------ | ------ |
| `progress` | `Map<String, SyncProgress>?` | named |  |
| `labelForType` | `String Function(String)?` | named |  |
| `statusLabels` | `Map<SyncProgressStatus, String>` | named | `const {}` |
| `reasonLabels` | `Map<SyncPauseReason, String>` | named | `const {}` |
| `key` | `Key?` | named |  |

### Properties [#properties]

#### SyncProgressList.progress [#syncprogresslistprogress]

```dart
final Map<String, SyncProgress>? progress
```

Progress snapshots keyed by data type.

#### SyncProgressList.labelForType [#syncprogresslistlabelfortype]

```dart
final String Function(String)? labelForType
```

Returns a localized label for a data type key.

#### SyncProgressList.statusLabels [#syncprogressliststatuslabels]

```dart
final Map<SyncProgressStatus, String> statusLabels
```

Overrides the default status labels.

#### SyncProgressList.reasonLabels [#syncprogresslistreasonlabels]

```dart
final Map<SyncPauseReason, String> reasonLabels
```

Overrides the default pause reason labels.
