e43cc867f9
Shared AppSheetHeader (title + Done) for the Runs filter/sort and Needs you sheets; Runs filter single-choice groups as check rows and statuses in sentence case; Cupertino decision options as a check list; run action sheet titled with the run; usage page without the duplicate title and with honest empty states; Settings Reconnect wording, compact notifications row and a tinted Cupertino Save workspace; friendly artifact preview failures with Retry.
28 lines
1.1 KiB
Dart
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, 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 header's Done action, which closes the sheet on both hosts.
|
|
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');
|