device infos
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user