mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-21 03:15:14 +08:00
opt video appbar
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -1289,21 +1289,22 @@ class _PLVideoPlayerState extends State<PLVideoPlayer>
|
||||
final visible =
|
||||
!plPlayerController.controlsLock.value &&
|
||||
plPlayerController.showControls.value;
|
||||
visible
|
||||
? animationController.forward()
|
||||
: animationController.reverse();
|
||||
return Positioned.fill(
|
||||
child: ClipRect(
|
||||
child: Column(
|
||||
children: [
|
||||
AppBarAni(
|
||||
isTop: true,
|
||||
controller: animationController,
|
||||
visible: visible,
|
||||
position: 'top',
|
||||
child: widget.headerControl,
|
||||
),
|
||||
const Spacer(),
|
||||
AppBarAni(
|
||||
isTop: false,
|
||||
controller: animationController,
|
||||
visible: visible,
|
||||
position: 'bottom',
|
||||
child:
|
||||
widget.bottomControl ??
|
||||
BottomControl(
|
||||
|
||||
Reference in New Issue
Block a user