mirror of
https://github.com/R0m1k3/xtremflow.git
synced 2026-10-19 21:18:06 +02:00
feat: Implement IPTV player screen with playback controls and stream type handling.
This commit is contained in:
1 parent
30218cb1d0
commit
83e43b9da8
1 file changed
+23
-15
@@ -716,22 +716,30 @@ class _PlayerScreenState extends ConsumerState<PlayerScreen> {
|
|||||||
double size = 48,
|
double size = 48,
|
||||||
double iconSize = 24,
|
double iconSize = 24,
|
||||||
}) {
|
}) {
|
||||||
return TvFocusableCard(
|
// Simplified button with direct Material/InkWell and PointerInterceptor
|
||||||
onTap: onTap,
|
return PointerInterceptor(
|
||||||
borderRadius: size / 2,
|
child: Material(
|
||||||
scaleFactor: 1.1,
|
color: transparent ? Colors.transparent : Colors.white.withOpacity(0.1),
|
||||||
child: Container(
|
shape: const CircleBorder(),
|
||||||
width: size,
|
child: InkWell(
|
||||||
height: size,
|
onTap: () {
|
||||||
decoration: BoxDecoration(
|
print('[PlayerScreen] Button tapped: $icon');
|
||||||
color:
|
onTap();
|
||||||
transparent ? Colors.transparent : Colors.white.withOpacity(0.1),
|
},
|
||||||
shape: BoxShape.circle,
|
customBorder: const CircleBorder(),
|
||||||
border: transparent
|
child: Container(
|
||||||
? null
|
width: size,
|
||||||
: Border.all(color: Colors.white.withOpacity(0.1)),
|
height: size,
|
||||||
|
alignment: Alignment.center,
|
||||||
|
decoration: BoxDecoration(
|
||||||
|
shape: BoxShape.circle,
|
||||||
|
border: transparent
|
||||||
|
? 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),
|
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user