feat: add LiveTVTab for browsing live channels with search and favorites, and PlayerScreen for channel playback.

This commit is contained in:
Michael committed 2026-01-01 18:17:35 +01:00
1 parent a1a8810ddc
commit be51118dc2
2 files changed
+57 -31

No files matched your search

+8 -7
View File
@@ -383,28 +383,29 @@ class _LiveTVTabState extends ConsumerState<LiveTVTab>
// Icon Area
Expanded(
child: Container(
decoration: const BoxDecoration(
color: Colors.white,
decoration: BoxDecoration(
color: Colors.white
.withOpacity(0.05), // Subtle transparent background
borderRadius:
BorderRadius.vertical(top: Radius.circular(12)),
const BorderRadius.vertical(top: Radius.circular(12)),
),
padding: const EdgeInsets.all(16),
child: Center(
child: channel.streamIcon.isNotEmpty
? Image.network(
_getProxiedIconUrl(channel.streamIcon)!,
errorBuilder: (_, __, ___) => const Icon(
errorBuilder: (_, __, ___) => Icon(
Icons.tv,
color: Colors.grey,
color: Colors.white.withOpacity(0.3),
size: 40,
),
)
: Text(
channel.name.characters.first.toUpperCase(),
style: GoogleFonts.inter(
style: GoogleFonts.outfit(
fontSize: 40,
fontWeight: FontWeight.bold,
color: Colors.black12,
color: Colors.white24,
),
),
),