mod: 合集连播

This commit is contained in:
guozhigq
2023-11-08 23:02:13 +08:00
parent 93581c2932
commit c11c5695a2
7 changed files with 183 additions and 11 deletions

View File

@ -0,0 +1,25 @@
enum PlayRepeat {
pause,
listOrder,
singleCycle,
listCycle,
}
extension PlayRepeatExtension on PlayRepeat {
static final List<String> _descList = [
'播完暂停',
'顺序播放',
'单个循环',
'列表循环',
];
get description => _descList[index];
static final List<double> _valueList = [
1,
2,
3,
4,
];
get value => _valueList[index];
get defaultValue => _valueList[1];
}