mod: format code
This commit is contained in:
@ -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];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user