device infos

This commit is contained in:
2026-08-28 15:07:30 +05:30
parent 5723d373b2
commit 69f4f3e909
84 changed files with 4337 additions and 2339 deletions

View File

@@ -1989,7 +1989,7 @@ class ErrorRetry extends StatelessWidget {
/// ─────────────────────────────────────────────────────────────────────────
class StopSourceLine extends StatelessWidget {
final String source;
final String bagLabel;
final String printedLabel;
/// Dims both when the stop is not actionable, matching the card around it.
final bool muted;
@@ -2001,12 +2001,12 @@ class StopSourceLine extends StatelessWidget {
const StopSourceLine({
super.key,
required this.source,
required this.bagLabel,
required this.printedLabel,
this.muted = false,
this.topGap = 6,
});
bool get _isEmpty => source.isEmpty && bagLabel.isEmpty;
bool get _isEmpty => source.isEmpty && printedLabel.isEmpty;
@override
Widget build(BuildContext context) {
@@ -2053,12 +2053,12 @@ class StopSourceLine extends StatelessWidget {
),
),
),
if (source.isNotEmpty && bagLabel.isNotEmpty)
if (source.isNotEmpty && printedLabel.isNotEmpty)
const SizedBox(width: 8),
if (bagLabel.isNotEmpty)
if (printedLabel.isNotEmpty)
Flexible(
child: Text(
'Bag $bagLabel',
printedLabel,
maxLines: 1,
overflow: TextOverflow.ellipsis,
style: TextStyle(