mod: format code

This commit is contained in:
guozhigq
2024-01-07 12:58:24 +08:00
parent 7a71798055
commit fa8fd42e9a
104 changed files with 1077 additions and 1032 deletions

View File

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