我正在构建一个应用程序,它运行良好,直到我选择运行flutter-upgrade命令来升级我的安装。现在,我使用ListView的应用程序的一部分已经完全失效,在尝试访问应用程序中使用ListView的部分之后,应用程序的其余部分中断,小部件停止正常呈现。
在我升级我的颤振安装之前,一切都很好,我需要在下周之前完成这个应用程序。
这是日志:
I/flutter ( 4850): Another exception was thrown: not implemented
I/flutter ( 4850): Another exception was thrown: RenderBox was
这就是我所犯的错误
> Another exception was thrown: BoxConstraints forces an infinite width.
>
> Another exception was thrown: RenderBox was not laid out:
> _RenderListTile#bfb7d relayoutBoundary=up18 NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE
>
> Another exception was thrown: RenderBox was
我目前正在学习Flutter,我正在尝试使用Stack中的定位小部件在屏幕底部定位一个旋转木马。目前,堆栈是一个地图,其上是旋转木马。当我使用定位的小部件将圆盘传送带移动到底部时,它消失了,我遇到了这个错误。 I/flutter (19228): Another exception was thrown: 'package:flutter/src/rendering/object.dart': Failed assertion: line 1578 pos 12: '!_debugDoingThisLayout': is not true.
I/flu
所有人。 我目前正处于时间紧张的状态,试图在Flutter中构建一个应用程序,但我遇到了一个小问题。在我实现了同事写的一些代码后,我的应用程序在我达到TeamState状态时抛出了一个需求绘制异常。 Here's a link to a Git repo that contains all our code in Main.dart. 任何和所有的帮助都非常感谢。 编辑:完全错误... I/flutter (14688): Another exception was thrown: RenderBox was not laid out: RenderPointerListener#e
我需要一个在扩展块中的可重排序的列表,但是ReorderableListView不能工作,除非它被放入一个固定大小的容器中,否则它会得到以下错误。 BoxConstraints forces an infinite height.
The relevant error-causing widget was
ReorderableListView - RenderBox was not laid out: RenderStack#77d94 relayoutBoundary=up18 NEEDS-PAINT
NEEDS-COMPOSITING-BITS-UPDATE
'packa
我试图创建一个ListView,但是当我导入list_form.dart类时,我会得到这个错误。也许我在布局上犯了一些错误,因为如果我试图在主文件中运行它,我就不会得到这个错误。
这是一个错误:
I/flutter (12956): ══╡ EXCEPTION CAUGHT BY RENDERING LIBRARY ╞═════════════════════════════════════════════════════════
I/flutter (12956): The following assertion was thrown during performResize():
Exception caught by rendering library ═════════════════════════════════
RenderBox was not laid out: RenderFlex#0bf43 relayoutBoundary=up6 NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE
'package:flutter/src/rendering/box.dart':
Failed assertion: line 1687 pos 12: 'hasSize'
The relevant er
我想显示一个文本(或其他类型的内容)和一个卡片列表。我只能显示Cards列表,但是如果我添加另一个类,它会抛出一个异常。 仅用于卡片列表的代码(它可以工作): class CardPageState extends State<CardPage> {
//DeckCard is a class which contains title, description, etc
final decks = <DeckCard>[];
CardPageState(data){
decks.addAll(data);
}
@override