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