Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-07-23 16:47:11 +08:00
parent 148e0872b4
commit 418a1e8d39
821 changed files with 29467 additions and 25520 deletions

View File

@@ -2,8 +2,7 @@ enum BtmProgressBehavior {
alwaysShow('始终展示'),
alwaysHide('始终隐藏'),
onlyShowFullScreen('仅全屏时展示'),
onlyHideFullScreen('仅全屏时隐藏'),
;
onlyHideFullScreen('仅全屏时隐藏');
final String desc;
const BtmProgressBehavior(this.desc);

View File

@@ -32,8 +32,9 @@ class DataSource {
this.subFiles,
required this.type,
this.httpHeaders,
}) : assert((type == DataSourceType.file && file != null) ||
videoSource != null);
}) : assert(
(type == DataSourceType.file && file != null) || videoSource != null,
);
DataSource copyWith({
File? file,

View File

@@ -11,8 +11,7 @@ enum FullScreenMode {
// 屏幕长宽比<1.25或为竖屏视频时竖屏,否则横屏
ratio('屏幕长宽比<1.25或为竖屏视频时竖屏,否则横屏'),
// 强制重力转屏(仅安卓)
gravity('忽略系统方向锁定,强制按重力转屏(仅安卓)'),
;
gravity('忽略系统方向锁定,强制按重力转屏(仅安卓)');
final String desc;
const FullScreenMode(this.desc);

View File

@@ -3,8 +3,7 @@ enum PlayRepeat {
listOrder('顺序播放'),
singleCycle('单个循环'),
listCycle('列表循环'),
autoPlayRelated('自动连播'),
;
autoPlayRelated('自动连播');
final String desc;
const PlayRepeat(this.desc);

View File

@@ -8,8 +8,7 @@ enum PlaySpeed {
onePointSevenFive(1.75),
two(2.0),
three(3.0),
;
three(3.0);
final double value;
const PlaySpeed(this.value);