mod: 自动播放按钮改为官方版
This commit is contained in:
@ -466,26 +466,15 @@ class _VideoDetailPageState extends State<VideoDetailPage>
|
|||||||
Positioned(
|
Positioned(
|
||||||
right: 12,
|
right: 12,
|
||||||
bottom: 10,
|
bottom: 10,
|
||||||
child: TextButton.icon(
|
child: IconButton(
|
||||||
style: ButtonStyle(
|
tooltip: '播放',
|
||||||
backgroundColor:
|
onPressed: () =>
|
||||||
MaterialStateProperty
|
handlePlay(),
|
||||||
.resolveWith(
|
icon: Image.asset(
|
||||||
(states) {
|
'assets/images/play.png',
|
||||||
return Colors.white
|
width: 60,
|
||||||
.withOpacity(0.8);
|
height: 60,
|
||||||
}),
|
)),
|
||||||
),
|
|
||||||
onPressed: () =>
|
|
||||||
handlePlay(),
|
|
||||||
icon: const Icon(
|
|
||||||
Icons
|
|
||||||
.play_circle_outline,
|
|
||||||
size: 20,
|
|
||||||
),
|
|
||||||
label:
|
|
||||||
const Text('轻触封面播放'),
|
|
||||||
),
|
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
)),
|
)),
|
||||||
|
Reference in New Issue
Block a user