Merge pull request #343 from orz12/fix-bottom-ProgressBar-position
fix: 视频底部进度条无法显示
This commit is contained in:
@ -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();
|
||||||
|
Reference in New Issue
Block a user