Files
PiliPlus/lib/utils/storage_key.dart
dom 07843a5e77 drop
Signed-off-by: dom <githubaccount56556@proton.me>
2026-05-08 21:27:01 +08:00

123 lines
4.7 KiB
Dart

// ignore_for_file: constant_identifier_names
abstract final class SettingBoxKey {
static const String defaultVideoQa = 'defaultVideoQa',
defaultVideoQaCellular = 'defaultVideoQaCellular',
defaultAudioQa = 'defaultAudioQa',
defaultAudioQaCellular = 'defaultAudioQaCellular',
defaultDecode = 'defaultDecode',
secondDecode = 'secondDecode',
defaultPicQa = 'defaultPicQa',
audioOutput = 'audioOutput',
hardwareDecoding = 'hardwareDecoding',
videoSync = 'videoSync',
enableOnlineTotal = 'enableOnlineTotal',
keyboardControl = 'keyboardControl',
pgcSkipType = 'pgcSkipType',
audioPlayMode = 'audioPlayMode',
showBatteryLevel = 'showBatteryLevel';
static const String horizontalScreen = 'horizontalScreen',
CDNService = 'CDNService',
sliderDuration = 'sliderOffset',
continuePlayInBackground = 'continuePlayInBackground',
maxCacheSize = 'maxCacheSize',
enableQuickFav = 'enableQuickFav',
previewQuality = 'previewQuality',
schemeVariant = 'schemeVariant',
horizontalSeasonPanel = 'horizontalSeasonPanel',
horizontalMemberPage = 'horizontalMemberPage',
badCertificateCallback = 'badCertificateCallback',
cdnSpeedTest = 'cdnSpeedTest',
horizontalPreview = 'horizontalPreview',
refreshDragPercentage = 'refreshDragPercentage',
refreshDisplacement = 'refreshDisplacement',
coinWithLike = 'coinWithLike',
springDescription = 'springDescription',
enableHttp2 = 'enableHttp2',
slideDismissReplyPage = 'slideDismissReplyPage',
retryCount = 'retryCount',
retryDelay = 'retryDelay',
liveQuality = 'liveQuality',
liveQualityCellular = 'liveQualityCellular',
fastForBackwardDuration = 'fastForBackwardDuration',
showPgcTimeline = 'showPgcTimeline',
pageTransition = 'pageTransition',
banWordForDyn = 'banWordForDyn',
enableLog = 'enableLog',
dynamicDetailRatio = 'dynamicDetailRatio',
quickFavId = 'quickFavId',
enablePlayAll = 'enablePlayAll',
downloadPath = 'downloadPath',
followOrderType = 'followOrderType',
enableImgMenu = 'enableImgMenu',
touchSlopH = 'touchSlopH',
floatingNavBar = 'floatingNavBar';
static const String windowSize = 'windowSize',
windowPosition = 'windowPosition',
isWindowMaximized = 'isWindowMaximized',
desktopVolume = 'desktopVolume';
static const String subtitlePaddingH = 'subtitlePaddingH',
subtitlePaddingB = 'subtitlePaddingB',
subtitleBgOpacity = 'subtitleBgOpaticy',
subtitleStrokeWidth = 'subtitleStrokeWidth',
subtitleFontScale = 'subtitleFontScale',
subtitleFontScaleFS = 'subtitleFontScaleFS',
subtitleFontWeight = 'subtitleFontWeight';
static const String enableSponsorBlock = 'enableSponsorBlock',
blockSettings = 'blockSettings',
blockColor = 'blockColor',
blockUserID = 'blockUserID',
blockToast = 'blockToast',
blockServer = 'blockServer';
static const String enableShowDanmaku = 'enableShowDanmaku',
enableShowLiveDanmaku = 'enableShowLiveDanmaku',
danmakuWeight = 'danmakuWeight',
danmakuBlockType = 'danmakuBlockType',
danmakuShowArea = 'danmakuShowArea',
danmakuOpacity = 'danmakuOpacity',
danmakuFontScale = 'danmakuFontScale',
danmakuFontScaleFS = 'danmakuFontScaleFS',
danmakuDuration = 'danmakuDuration',
danmakuStaticDuration = 'danmakuStaticDuration',
danmakuMassiveMode = 'danmakuMassiveMode',
danmakuFixedV = 'danmakuFixedV',
danmakuStatic2Scroll = 'danmakuStatic2Scroll',
danmakuLineHeight = 'danmakuLineHeight',
danmakuStrokeWidth = 'strokeWidth',
danmakuFontWeight = 'fontWeight';
static const String themeMode = 'themeMode',
dynamicColor = 'dynamicColor',
customColor = 'customColor',
smallCardWidth = 'smallCardWidth',
recommendCardWidth = 'recommendCardWidth',
dynamicsWaterfallFlow = 'dynamicsWaterfallFlow',
upPanelPosition = 'upPanelPosition',
dynamicBadgeMode = 'dynamicBadgeMode',
msgBadgeMode = 'msgBadgeMode',
msgUnReadTypeV2 = 'msgUnReadTypeV2',
liveCdnUrl = 'liveCdnUrl';
}
abstract final class LocalCacheKey {
static const String historyPause = 'historyPause',
blackMids = 'blackMids',
danmakuFilterRules = 'danmakuFilterRules',
mixinKey = 'mixinKey',
timeStamp = 'timeStamp',
buvid = 'buvid';
}
abstract final class VideoBoxKey {
static const String playRepeat = 'playRepeat',
playSpeedDefault = 'playSpeedDefault',
longPressSpeedDefault = 'longPressSpeedDefault',
speedsList = 'speedsList',
cacheVideoFit = 'cacheVideoFit';
}