feat: add PlayerScreen for IPTV playback with web player integration and controls.

This commit is contained in:
Michael committed 2026-01-01 18:44:29 +01:00
1 parent 83e43b9da8
commit e19f0638f7
1 file changed
+21 -21
+21 -21
View File
@@ -717,28 +717,28 @@ class _PlayerScreenState extends ConsumerState<PlayerScreen> {
double iconSize = 24, double iconSize = 24,
}) { }) {
// Simplified button with direct Material/InkWell and PointerInterceptor // Simplified button with direct Material/InkWell and PointerInterceptor
return PointerInterceptor( // Simplified button with direct Material/InkWell
child: Material( // Note: PointerInterceptor is handled by the parent container
color: transparent ? Colors.transparent : Colors.white.withOpacity(0.1), return Material(
shape: const CircleBorder(), color: transparent ? Colors.transparent : Colors.white.withOpacity(0.1),
child: InkWell( shape: const CircleBorder(),
onTap: () { child: InkWell(
print('[PlayerScreen] Button tapped: $icon'); onTap: () {
onTap(); print('[PlayerScreen] Button tapped: $icon');
}, onTap();
customBorder: const CircleBorder(), },
child: Container( customBorder: const CircleBorder(),
width: size, child: Container(
height: size, width: size,
alignment: Alignment.center, height: size,
decoration: BoxDecoration( alignment: Alignment.center,
shape: BoxShape.circle, decoration: BoxDecoration(
border: transparent shape: BoxShape.circle,
? null border: transparent
: Border.all(color: Colors.white.withOpacity(0.1)), ? null
), : Border.all(color: Colors.white.withOpacity(0.1)),
child: Icon(icon, color: Colors.white, size: iconSize),
), ),
child: Icon(icon, color: Colors.white, size: iconSize),
), ),
), ),
); );