fix:视频底部进度条无法显示

This commit is contained in:
orz12
2023-12-26 01:46:45 +08:00
parent 77a77bc9e3
commit 888f3f8a3a

View File

@ -619,7 +619,7 @@ class _PLVideoPlayerState extends State<PLVideoPlayer>
return Container(); return Container();
} }
return Positioned( return Positioned(
bottom: -3.5, bottom: -1.5,
left: 0, left: 0,
right: 0, right: 0,
child: ProgressBar( child: ProgressBar(
@ -632,7 +632,7 @@ class _PLVideoPlayerState extends State<PLVideoPlayer>
Theme.of(context).colorScheme.primary.withOpacity(0.4), Theme.of(context).colorScheme.primary.withOpacity(0.4),
timeLabelLocation: TimeLabelLocation.none, timeLabelLocation: TimeLabelLocation.none,
thumbColor: colorTheme, thumbColor: colorTheme,
barHeight: 2, barHeight: 3,
thumbRadius: 0.0, thumbRadius: 0.0,
// onDragStart: (duration) { // onDragStart: (duration) {
// _.onChangedSliderStart(); // _.onChangedSliderStart();