Phase 3: Architecture refactor - consolidate folders and extract patterns

- Consolidate lib/mobile/features/iptv → lib/features/iptv
  * Move all IPTV screens, models, services, widgets to unified location
  * Update imports in main.dart and affected files
  * Remove old mobile/features/iptv directory

- Create lib/core/patterns/ for reusable implementations
  * HiveServiceBase: Template for Hive-based persistent storage
  * VideoPlayerWrapper: Abstraction for video player selection
  * StreamResolverPattern: IPTV stream resolution and validation

- Router already simplified (no kIsWeb checks, Android-only)

All changes maintain Android-only architecture and improve maintainability.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
GitHub CopilotandClaude Haiku 4.5 committed 2026-03-25 22:21:49 +01:00
1 parent d0f0589d09
commit cb1788be8a
16 files changed
+361 -5

No files matched your search

@@ -0,0 +1,8 @@
/// Xtream API Data Models - Mobile Version
///
/// This is a minimal stub to support mobile imports.
/// Full models are in core/models/iptv_models.dart
library;
// Re-export from core for compatibility
export '../../../core/models/iptv_models.dart';