fix(flutter): feed 清屏保留顶栏并寻址恢复播放
This commit is contained in:
1 parent
9b99d96a07
commit
c87798fb16
5 files changed
+83
-28
No files matched your search
@@ -131,23 +131,17 @@ class _HomeFeedOverlayState extends State<HomeFeedOverlay> {
|
||||
),
|
||||
if (widget.boosting)
|
||||
Column(children: [const Spacer(), _boostHint(), _fullSeriesBar()])
|
||||
else if (widget.visible)
|
||||
else
|
||||
Column(
|
||||
children: [
|
||||
_header(context),
|
||||
Expanded(
|
||||
child: Align(
|
||||
alignment: Alignment.bottomRight,
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.fromLTRB(0, 0, 10, 12),
|
||||
child: _rail(),
|
||||
),
|
||||
),
|
||||
),
|
||||
_bottomInfo(),
|
||||
const Spacer(),
|
||||
if (widget.visible) _bottomInfo(),
|
||||
_fullSeriesBar(),
|
||||
],
|
||||
),
|
||||
if (widget.visible && !widget.boosting)
|
||||
Positioned(right: 10, bottom: 56, child: _rail()),
|
||||
],
|
||||
),
|
||||
);
|
||||
@@ -307,7 +301,7 @@ class _HomeFeedOverlayState extends State<HomeFeedOverlay> {
|
||||
|
||||
Widget _bottomInfo() {
|
||||
return Padding(
|
||||
padding: const EdgeInsets.fromLTRB(14, 0, 14, 8),
|
||||
padding: const EdgeInsets.fromLTRB(14, 0, 56, 8),
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
|
||||
Reference in new issue
Block a user