Files
pipelines/app/lib/features/attention/ui/needs_you_keys.dart
T

25 lines
1012 B
Dart

import 'package:flutter/widgets.dart';
/// The bell action that opens the `Needs you` sheet.
const attentionBellKey = ValueKey<String>('attention-bell');
/// The visible count badge. Absent when nothing needs the operator.
const attentionBadgeKey = ValueKey<String>('attention-badge');
/// The open sheet itself, whichever native host draws it.
const attentionSheetKey = ValueKey<String>('attention-sheet');
/// The honest empty line shown when the open snapshot has no entries.
const attentionEmptyKey = ValueKey<String>('attention-empty');
/// The bulk dismissal action, present only while the snapshot has entries.
const attentionClearAllKey = ValueKey<String>('attention-clear-all');
/// One row, keyed by the run+kind identity it shows.
ValueKey<String> attentionRowKey(String entryKey) =>
ValueKey<String>('attention-row-$entryKey');
/// The per-row dismissal action for one identity.
ValueKey<String> attentionDismissKey(String entryKey) =>
ValueKey<String>('attention-dismiss-$entryKey');