generated from dellevin/template
1
This commit is contained in:
@@ -867,18 +867,17 @@ class _MovieDetailPageState extends State<MovieDetailPage>
|
|||||||
mainAxisAlignment: MainAxisAlignment.center,
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
children: [
|
children: [
|
||||||
// 上一集
|
// 上一集
|
||||||
if (hasPrev)
|
IconButton(
|
||||||
IconButton(
|
onPressed: hasPrev ? _playPrevEpisode : null,
|
||||||
onPressed: _playPrevEpisode,
|
icon: Icon(Icons.skip_previous,
|
||||||
icon: const Icon(Icons.skip_previous,
|
color: hasPrev
|
||||||
color: Colors.white),
|
? Colors.white
|
||||||
iconSize: 22,
|
: Colors.white.withValues(alpha: 0.3)),
|
||||||
padding: const EdgeInsets.symmetric(horizontal: 8),
|
iconSize: 22,
|
||||||
constraints: const BoxConstraints(
|
padding: const EdgeInsets.symmetric(horizontal: 8),
|
||||||
minWidth: 36, minHeight: 36),
|
constraints: const BoxConstraints(
|
||||||
)
|
minWidth: 36, minHeight: 36),
|
||||||
else
|
),
|
||||||
const SizedBox(width: 38),
|
|
||||||
// 播放/暂停
|
// 播放/暂停
|
||||||
GestureDetector(
|
GestureDetector(
|
||||||
onTap: () {
|
onTap: () {
|
||||||
@@ -900,18 +899,17 @@ class _MovieDetailPageState extends State<MovieDetailPage>
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
// 下一集
|
// 下一集
|
||||||
if (hasNext)
|
IconButton(
|
||||||
IconButton(
|
onPressed: hasNext ? _playNextEpisode : null,
|
||||||
onPressed: _playNextEpisode,
|
icon: Icon(Icons.skip_next,
|
||||||
icon: const Icon(Icons.skip_next,
|
color: hasNext
|
||||||
color: Colors.white),
|
? Colors.white
|
||||||
iconSize: 22,
|
: Colors.white.withValues(alpha: 0.3)),
|
||||||
padding: const EdgeInsets.symmetric(horizontal: 8),
|
iconSize: 22,
|
||||||
constraints: const BoxConstraints(
|
padding: const EdgeInsets.symmetric(horizontal: 8),
|
||||||
minWidth: 36, minHeight: 36),
|
constraints: const BoxConstraints(
|
||||||
)
|
minWidth: 36, minHeight: 36),
|
||||||
else
|
),
|
||||||
const SizedBox(width: 38),
|
|
||||||
const SizedBox(width: 16),
|
const SizedBox(width: 16),
|
||||||
// 倍速
|
// 倍速
|
||||||
GestureDetector(
|
GestureDetector(
|
||||||
|
|||||||
Reference in New Issue
Block a user