Merge branch 'main' into fix

This commit is contained in:
guozhigq
2024-05-25 15:11:47 +08:00
2 changed files with 25 additions and 25 deletions

View File

@ -768,10 +768,7 @@ class _PLVideoPlayerState extends State<PLVideoPlayer>
),
// 头部、底部控制条
SafeArea(
top: false,
bottom: false,
child: Obx(
Obx(
() => Column(
children: [
if (widget.headerControl != null || _.headerControl != null)
@ -800,7 +797,6 @@ class _PLVideoPlayerState extends State<PLVideoPlayer>
],
),
),
),
/// 进度条 live模式下禁用

View File

@ -29,6 +29,10 @@ class AppBarAni extends StatelessWidget implements PreferredSizeWidget {
curve: Curves.linear,
)),
child: Container(
padding: EdgeInsets.only(
left: MediaQuery.of(context).padding.left,
right: MediaQuery.of(context).padding.right,
),
decoration: BoxDecoration(
gradient: position! == 'top'
? const LinearGradient(