Add collapsible sidebar functionality for both deliveries and routes pages: - DeliveryListItem: Add isCollapsed parameter to show badge-only view when sidebar is collapsed - RouteListItem: Add isCollapsed parameter with same badge-only behavior - MapSidebarLayout: Add sidebarBuilder function to pass collapsed state to child widgets - CollapsibleRoutesSidebar: Pass collapsed state to RouteListItem components - UnifiedDeliveryListView: Add isCollapsed parameter and pass to DeliveryListItem Collapsed sidebar: - Width: 80px (accommodates 60px badge with 10px margins) - Shows only status-colored order number badges - Badges remain centered and aligned during animations - Removed horizontal slide animation in collapsed view to prevent misalignment - Maintains scale and fade animations for smooth entrance Expanded sidebar: - Width: 420px (original full layout) - Shows badge, vertical accent bar, and delivery/route details - Full animations including horizontal slide Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| collapsible_routes_sidebar.dart | ||
| dark_mode_map.dart | ||
| delivery_list_item.dart | ||
| delivery_map.dart | ||
| glassmorphic_route_card.dart | ||
| map_sidebar_layout.dart | ||
| navigation_tc_dialog.dart | ||
| premium_route_card.dart | ||
| route_list_item.dart | ||