mirror of
https://github.com/R0m1k3/xtremflow.git
synced 2026-10-12 01:36:20 +02:00
feat: add PlayerScreen for IPTV playback with web player integration and controls.
This commit is contained in:
1 parent
83e43b9da8
commit
e19f0638f7
1 file changed
+21
-21
@@ -717,28 +717,28 @@ class _PlayerScreenState extends ConsumerState<PlayerScreen> {
|
||||
double iconSize = 24,
|
||||
}) {
|
||||
// Simplified button with direct Material/InkWell and PointerInterceptor
|
||||
return PointerInterceptor(
|
||||
child: Material(
|
||||
color: transparent ? Colors.transparent : Colors.white.withOpacity(0.1),
|
||||
shape: const CircleBorder(),
|
||||
child: InkWell(
|
||||
onTap: () {
|
||||
print('[PlayerScreen] Button tapped: $icon');
|
||||
onTap();
|
||||
},
|
||||
customBorder: const CircleBorder(),
|
||||
child: Container(
|
||||
width: size,
|
||||
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),
|
||||
// Simplified button with direct Material/InkWell
|
||||
// Note: PointerInterceptor is handled by the parent container
|
||||
return Material(
|
||||
color: transparent ? Colors.transparent : Colors.white.withOpacity(0.1),
|
||||
shape: const CircleBorder(),
|
||||
child: InkWell(
|
||||
onTap: () {
|
||||
print('[PlayerScreen] Button tapped: $icon');
|
||||
onTap();
|
||||
},
|
||||
customBorder: const CircleBorder(),
|
||||
child: Container(
|
||||
width: size,
|
||||
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),
|
||||
),
|
||||
),
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user