checkpoint

This commit is contained in:
2025-11-26 17:41:37 -05:00
parent ef5c0c1a95
commit 2ecd1c5b4e
15 changed files with 794 additions and 152 deletions
+3 -1
View File
@@ -2,6 +2,7 @@ import 'package:flutter/material.dart';
import '../models/delivery.dart';
import '../theme/animation_system.dart';
import '../theme/color_system.dart';
import '../l10n/app_localizations.dart';
class DeliveryListItem extends StatefulWidget {
final Delivery delivery;
@@ -94,6 +95,7 @@ class _DeliveryListItemState extends State<DeliveryListItem>
Widget build(BuildContext context) {
final isDark = Theme.of(context).brightness == Brightness.dark;
final statusColor = _getStatusColor(widget.delivery);
final l10n = AppLocalizations.of(context)!;
// Collapsed view: Show only the badge
if (widget.isCollapsed) {
@@ -296,7 +298,7 @@ class _DeliveryListItemState extends State<DeliveryListItem>
Text(
widget.delivery.deliveryAddress
?.formattedAddress ??
'No address',
l10n.noAddress,
style: Theme.of(context)
.textTheme
.bodyMedium