screens

Screens & Widgets

Navigation Container - MobileScafold (lib/presentation/screens/mobile_scafold.dart) - Bottom navigation with 5 tabs: Dashboard, Local, Scanner, DigiKey, Settings - _buildPageForIndex constructs the current tab lazily

Dashboard (dashboard_page.dart) - Overview cards, quick actions, recent activity - Quick action "Add Component" navigates to DigiKey tab (index 3)

Local Components (components_page.dart) - Lists locally stored components - Search filters locally (no remote call) - Category chips with drilldown, filters dialog, edit and checkout dialogs

DigiKey Components (digikey_components_page.dart) - Initially shows an empty search state (CTA & tips) - On search submit, calls digikeyComponentSearchProvider and lists results - Allows Add (saves to local), Edit, and Checkout; on Add, invalidates componentsProvider - Filter button enabled after a search

Scanner (scanner_page.dart) - Barcode/QR scanning for components (implementation details in that screen)

Settings (settings_page.dart) - App-level preferences

Reusable Widgets - component_details_dialog.dart: modal with component details - add_component_dialog.dart: confirm and persist new component locally - edit_component_dialog.dart: update existing component - checkout_component_dialog.dart: handle stock checkout flow - component_filter_dialog.dart: filter UI by status, manufacturer, price, stock