mod: 自动播放按钮改为官方版

This commit is contained in:
orz12
2024-01-25 12:59:21 +08:00
parent aaeecc9e53
commit 545def36e6

View File

@ -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:
MaterialStateProperty
.resolveWith(
(states) {
return Colors.white
.withOpacity(0.8);
}),
),
onPressed: () => onPressed: () =>
handlePlay(), handlePlay(),
icon: const Icon( icon: Image.asset(
Icons 'assets/images/play.png',
.play_circle_outline, width: 60,
size: 20, height: 60,
), )),
label:
const Text('轻触封面播放'),
),
), ),
], ],
)), )),