mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-20 11:08:03 +08:00
@@ -1110,12 +1110,12 @@ class _PLVideoPlayerState extends State<PLVideoPlayer>
|
|||||||
// 头部、底部控制条
|
// 头部、底部控制条
|
||||||
Obx(
|
Obx(
|
||||||
() => Positioned.fill(
|
() => Positioned.fill(
|
||||||
child: Column(
|
child: ClipRect(
|
||||||
children: [
|
child: Column(
|
||||||
if (widget.headerControl != null ||
|
children: [
|
||||||
plPlayerController.headerControl != null)
|
if (widget.headerControl != null ||
|
||||||
ClipRect(
|
plPlayerController.headerControl != null)
|
||||||
child: AppBarAni(
|
AppBarAni(
|
||||||
controller: animationController,
|
controller: animationController,
|
||||||
visible: !plPlayerController.controlsLock.value &&
|
visible: !plPlayerController.controlsLock.value &&
|
||||||
plPlayerController.showControls.value,
|
plPlayerController.showControls.value,
|
||||||
@@ -1123,21 +1123,21 @@ class _PLVideoPlayerState extends State<PLVideoPlayer>
|
|||||||
child: widget.headerControl ??
|
child: widget.headerControl ??
|
||||||
plPlayerController.headerControl!,
|
plPlayerController.headerControl!,
|
||||||
),
|
),
|
||||||
),
|
const Spacer(),
|
||||||
const Spacer(),
|
if (plPlayerController.showControls.value)
|
||||||
if (plPlayerController.showControls.value)
|
AppBarAni(
|
||||||
AppBarAni(
|
controller: animationController,
|
||||||
controller: animationController,
|
visible: !plPlayerController.controlsLock.value &&
|
||||||
visible: !plPlayerController.controlsLock.value &&
|
plPlayerController.showControls.value,
|
||||||
plPlayerController.showControls.value,
|
position: 'bottom',
|
||||||
position: 'bottom',
|
child: widget.bottomControl ??
|
||||||
child: widget.bottomControl ??
|
BottomControl(
|
||||||
BottomControl(
|
controller: plPlayerController,
|
||||||
controller: plPlayerController,
|
buildBottomControl: buildBottomControl,
|
||||||
buildBottomControl: buildBottomControl,
|
),
|
||||||
),
|
),
|
||||||
),
|
],
|
||||||
],
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user