mirror of
https://github.com/R0m1k3/xtremobile.git
synced 2026-10-11 17:29:26 +02:00
feat: introduce IPTV player screen with playback controls and mobile series detail screen
This commit is contained in:
1 parent
4a829d316b
commit
a5642c4003
2 files changed
+13
-2
No files matched your search
@@ -58,8 +58,7 @@ class _PlayerScreenState extends ConsumerState<PlayerScreen> {
|
||||
bool _showControls = false;
|
||||
bool _isPlaying = true;
|
||||
double _currentPosition = 0;
|
||||
bool _isPlaying = true;
|
||||
double _currentPosition = 0;
|
||||
|
||||
double _totalDuration = 1;
|
||||
double _volume = 1.0;
|
||||
Timer? _controlsTimer;
|
||||
|
||||
@@ -98,6 +98,18 @@ class _MobileSeriesDetailScreenState extends ConsumerState<MobileSeriesDetailScr
|
||||
expandedHeight: 400,
|
||||
pinned: true,
|
||||
backgroundColor: AppColors.background,
|
||||
leading: Container(
|
||||
margin: const EdgeInsets.all(8),
|
||||
decoration: const BoxDecoration(
|
||||
color: Colors.black45,
|
||||
shape: BoxShape.circle,
|
||||
),
|
||||
child: IconButton(
|
||||
icon: const Icon(Icons.arrow_back, color: Colors.white),
|
||||
onPressed: () => Navigator.pop(context),
|
||||
tooltip: 'Back',
|
||||
),
|
||||
),
|
||||
flexibleSpace: FlexibleSpaceBar(
|
||||
background: Stack(
|
||||
fit: StackFit.expand,
|
||||
|
||||
Reference in new issue
Block a user