Files
pipelines/app/lib/features/attention/ui/needs_you_keys.dart
T
alan 968e3e908a Remove Cupertino attention branches
Keep the reviewed attention surfaces on their Material implementations while preserving public cupertino parameters for remaining callers. Remove the unreachable Cupertino sheet and narrow tests to the Material path.
2026-11-11 01:31:14 +00:00

28 lines
1.1 KiB
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.
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 header's Done action, which closes the sheet.
const attentionDoneKey = ValueKey<String>('attention-done');
/// 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');