fix: 动态最新关注横行拉伸 issuse #580
This commit is contained in:
@ -88,36 +88,32 @@ class _UpPanelState extends State<UpPanel> {
|
|||||||
Container(
|
Container(
|
||||||
height: 90,
|
height: 90,
|
||||||
color: Theme.of(context).colorScheme.background,
|
color: Theme.of(context).colorScheme.background,
|
||||||
child: Row(
|
child: Expanded(
|
||||||
children: [
|
child: ListView(
|
||||||
Expanded(
|
scrollDirection: Axis.horizontal,
|
||||||
child: ListView(
|
controller: scrollController,
|
||||||
scrollDirection: Axis.horizontal,
|
children: [
|
||||||
controller: scrollController,
|
const SizedBox(width: 10),
|
||||||
children: [
|
if (liveList.isNotEmpty) ...[
|
||||||
const SizedBox(width: 10),
|
for (int i = 0; i < liveList.length; i++) ...[
|
||||||
if (liveList.isNotEmpty) ...[
|
upItemBuild(liveList[i], i)
|
||||||
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(
|
||||||
|
|||||||
Reference in New Issue
Block a user