Revert "fix: 动态最新关注横行拉伸 issuse #580"

This reverts commit 96e1a5af2c.
This commit is contained in:
orz12
2024-03-01 12:51:06 +08:00
parent b7e2fd63e3
commit 29ba3a6d53

View File

@@ -88,32 +88,36 @@ class _UpPanelState extends State<UpPanel> {
Container( Container(
height: 90, height: 90,
color: Theme.of(context).colorScheme.background, color: Theme.of(context).colorScheme.background,
child: Expanded( child: Row(
child: ListView( children: [
scrollDirection: Axis.horizontal, Expanded(
controller: scrollController, child: ListView(
children: [ scrollDirection: Axis.horizontal,
const SizedBox(width: 10), controller: scrollController,
if (liveList.isNotEmpty) ...[ children: [
for (int i = 0; i < liveList.length; i++) ...[ const SizedBox(width: 10),
upItemBuild(liveList[i], i) if (liveList.isNotEmpty) ...[
for (int i = 0; i < liveList.length; i++) ...[
upItemBuild(liveList[i], i)
],
VerticalDivider(
indent: 20,
endIndent: 40,
width: 26,
color: Theme.of(context)
.colorScheme
.primary
.withOpacity(0.5),
),
],
for (int i = 0; i < upList.length; i++) ...[
upItemBuild(upList[i], i)
],
const SizedBox(width: 10),
], ],
VerticalDivider( ),
indent: 20, ),
endIndent: 40, ],
width: 26,
color: Theme.of(context)
.colorScheme
.primary
.withOpacity(0.5),
),
],
for (int i = 0; i < upList.length; i++) ...[
upItemBuild(upList[i], i)
],
const SizedBox(width: 10),
],
),
), ),
), ),
Container( Container(