Flutter 编辑某些屏幕后,Flatter应用程序突然崩溃

Flutter 编辑某些屏幕后,Flatter应用程序突然崩溃,flutter,Flutter,当我在编辑购物车屏幕时重新加载应用程序时,应用程序突然停止,它冻结了。现在我重新加载和重建,然后太它不工作,可以有人请指导出了什么问题 logs//////////////////// RenderBox.size accessed beyond the scope of resize, layout, or permitted parent access. RenderBox can always access its own size, otherwise, the only object

当我在编辑购物车屏幕时重新加载应用程序时,应用程序突然停止,它冻结了。现在我重新加载和重建,然后太它不工作,可以有人请指导出了什么问题

logs////////////////////
RenderBox.size accessed beyond the scope of resize, layout, or permitted parent access. RenderBox can always access its own size, otherwise, the only object that is allowed to read RenderBox.size is its parent, if they have said they will. It you hit this assert trying to access a child's size, pass "parentUsesSize: true" to that child's layout().
'package:flutter/src/rendering/box.dart':
Failed assertion: line 1792 pos 13: 'debugDoingThisResize || debugDoingThisLayout ||
              (RenderObject.debugActiveLayout == parent && _size._canBeUsedByParent)'
════════════════════════════════════════════════════════════════════════════════════════════════════

════════ Exception caught by scheduler library ═════════════════════════════════════════════════════
RenderBox.size accessed beyond the scope of resize, layout, or permitted parent access. RenderBox can always access its own size, otherwise, the only object that is allowed to read RenderBox.size is its parent, if they have said they will. It you hit this assert trying to access a child's size, pass "parentUsesSize: true" to that child's layout().
'package:flutter/src/rendering/box.dart':
Failed assertion: line 1792 pos 13: 'debugDoingThisResize || debugDoingThisLayout ||
              (RenderObject.debugActiveLayout == parent && _size._canBeUsedByParent)'
════════════════════════════════════════════════════════════════════════════════════════════════════

你能粘贴代码吗?