mirror of
https://github.com/R0m1k3/xtremflow.git
synced 2026-10-11 17:30:00 +02:00
Merge pull request #79 from R0m1k3/antigravity
feat: introduce IPTV player screen with playback controls and mobile …
This commit is contained in:
2 files changed
+13
-2
No files matched your search
@@ -58,8 +58,7 @@ class _PlayerScreenState extends ConsumerState<PlayerScreen> {
|
|||||||
bool _showControls = false;
|
bool _showControls = false;
|
||||||
bool _isPlaying = true;
|
bool _isPlaying = true;
|
||||||
double _currentPosition = 0;
|
double _currentPosition = 0;
|
||||||
bool _isPlaying = true;
|
|
||||||
double _currentPosition = 0;
|
|
||||||
double _totalDuration = 1;
|
double _totalDuration = 1;
|
||||||
double _volume = 1.0;
|
double _volume = 1.0;
|
||||||
Timer? _controlsTimer;
|
Timer? _controlsTimer;
|
||||||
|
|||||||
@@ -98,6 +98,18 @@ class _MobileSeriesDetailScreenState extends ConsumerState<MobileSeriesDetailScr
|
|||||||
expandedHeight: 400,
|
expandedHeight: 400,
|
||||||
pinned: true,
|
pinned: true,
|
||||||
backgroundColor: AppColors.background,
|
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(
|
flexibleSpace: FlexibleSpaceBar(
|
||||||
background: Stack(
|
background: Stack(
|
||||||
fit: StackFit.expand,
|
fit: StackFit.expand,
|
||||||
|
|||||||
Reference in new issue
Block a user