iconFor static method

IconData iconFor(
  1. SafaehSyncState state
)

Implementation

static IconData iconFor(SafaehSyncState state) => switch (state) {
  SafaehSyncState.saved => Icons.check_circle_outline,
  SafaehSyncState.syncing => Icons.sync,
  SafaehSyncState.offline => Icons.cloud_off_outlined,
  SafaehSyncState.failed => Icons.error_outline,
};