Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-05-27 12:58:47 +08:00
parent e66a6f70b9
commit 664dc4f129
2 changed files with 3 additions and 3 deletions

View File

@@ -1178,7 +1178,7 @@ class _PLVideoPlayerState extends State<PLVideoPlayer>
? colorScheme.inversePrimary ? colorScheme.inversePrimary
: colorScheme.primary; : colorScheme.primary;
late final thumbGlowColor = primary.withAlpha(80); late final thumbGlowColor = primary.withAlpha(80);
late final bufferedBarColor = primary.withValues(alpha: 0.4); late final bufferedBarColor = primary.withValues(alpha: 0.3);
const TextStyle textStyle = TextStyle( const TextStyle textStyle = TextStyle(
color: Colors.white, color: Colors.white,
fontSize: 12, fontSize: 12,
@@ -1536,7 +1536,7 @@ class _PLVideoPlayerState extends State<PLVideoPlayer>
bufferedBarColor: bufferedBarColor, bufferedBarColor: bufferedBarColor,
thumbColor: primary, thumbColor: primary,
thumbGlowColor: thumbGlowColor, thumbGlowColor: thumbGlowColor,
barHeight: 1.4, barHeight: 1.5,
thumbRadius: 0, thumbRadius: 0,
strokeCap: .square, strokeCap: .square,
); );

View File

@@ -49,7 +49,7 @@ class BottomControl extends StatelessWidget {
? colorScheme.inversePrimary ? colorScheme.inversePrimary
: colorScheme.primary; : colorScheme.primary;
final thumbGlowColor = primary.withAlpha(80); final thumbGlowColor = primary.withAlpha(80);
final bufferedBarColor = primary.withValues(alpha: 0.4); final bufferedBarColor = primary.withValues(alpha: 0.3);
return Padding( return Padding(
padding: const .fromLTRB(10, 0, 10, 12), padding: const .fromLTRB(10, 0, 10, 12),