mod: 倍速选择
This commit is contained in:
@ -508,9 +508,7 @@ class _HeaderControlState extends State<HeaderControl> {
|
|||||||
style: ButtonStyle(
|
style: ButtonStyle(
|
||||||
padding: MaterialStateProperty.all(EdgeInsets.zero),
|
padding: MaterialStateProperty.all(EdgeInsets.zero),
|
||||||
),
|
),
|
||||||
onPressed: () {
|
onPressed: () => showSetSpeedSheet(),
|
||||||
_.togglePlaybackSpeed();
|
|
||||||
},
|
|
||||||
child: Text(
|
child: Text(
|
||||||
'${_.playbackSpeed.toString()}X',
|
'${_.playbackSpeed.toString()}X',
|
||||||
style: textStyle,
|
style: textStyle,
|
||||||
|
|||||||
Reference in New Issue
Block a user