Merge branch 'design'
This commit is contained in:
@ -768,10 +768,7 @@ class _PLVideoPlayerState extends State<PLVideoPlayer>
|
|||||||
),
|
),
|
||||||
|
|
||||||
// 头部、底部控制条
|
// 头部、底部控制条
|
||||||
SafeArea(
|
Obx(
|
||||||
top: false,
|
|
||||||
bottom: false,
|
|
||||||
child: Obx(
|
|
||||||
() => Column(
|
() => Column(
|
||||||
children: [
|
children: [
|
||||||
if (widget.headerControl != null || _.headerControl != null)
|
if (widget.headerControl != null || _.headerControl != null)
|
||||||
@ -800,7 +797,6 @@ class _PLVideoPlayerState extends State<PLVideoPlayer>
|
|||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
|
||||||
|
|
||||||
/// 进度条 live模式下禁用
|
/// 进度条 live模式下禁用
|
||||||
|
|
||||||
|
|||||||
@ -29,6 +29,10 @@ class AppBarAni extends StatelessWidget implements PreferredSizeWidget {
|
|||||||
curve: Curves.linear,
|
curve: Curves.linear,
|
||||||
)),
|
)),
|
||||||
child: Container(
|
child: Container(
|
||||||
|
padding: EdgeInsets.only(
|
||||||
|
left: MediaQuery.of(context).padding.left,
|
||||||
|
right: MediaQuery.of(context).padding.right,
|
||||||
|
),
|
||||||
decoration: BoxDecoration(
|
decoration: BoxDecoration(
|
||||||
gradient: position! == 'top'
|
gradient: position! == 'top'
|
||||||
? const LinearGradient(
|
? const LinearGradient(
|
||||||
|
|||||||
Reference in New Issue
Block a user