错误
I/flutter (16321): The following RenderObject was being processed when the exception was fired:
I/flutter (16321): RenderIndexedStack#83b60 relayoutBoundary=up9 NEEDS-LAYOUT NEEDS-PAINT I/flutter (16321): creator: IndexedStack ← Row ← Padding ← Container ← DefaultTextStyle ← Stack ← Listener ← I/flutter (16321): _GestureSemantics ← RawGestureDetector ← GestureDetector ← Semantics ← DropdownButton ← ⋯ I/flutter (16321): parentData: offset=Offset(0.0, 0.0); 弹性=空;fit=null (可以使用 size) I/flutter (16321): 约束: BoxConstraints(unconstrained) I/flutter (16321): size: Size(Infinity, Infinity) I/flutter (16321): 对齐: AlignmentDirectional.centerStart I/ flutter (16321): textDirection: ltr I/flutter (16321): fit:松散 I/flutter (16321): overflow: clip I/flutter (16321): index: null I/flutter (16321): 这个RenderObject没有后代. 我/颤振(16321):══════════════════════════════════════════════════ ══════════════════════════════════════════════════ I/flutter (16321):引发了另一个异常:在布局期间,RenderFlex 对象被赋予了无限大小。I/flutter (16321):引发了另一个异常:在布局期间,RenderPadding 对象被赋予了无限大小。I/flutter (16321):引发了另一个异常:在布局期间,RenderStack 对象被赋予了无限大小。I/flutter (16321):引发了另一个异常:在布局期间,RenderPointerListener 对象被赋予了无限大小。I/flutter (16321):引发了另一个异常:在布局期间,RenderSemanticsGestureHandler 对象被赋予了无限大小。I/flutter (16321):引发了另一个异常:在布局期间,RenderSemanticsAnnotations 对象被赋予了无限大小。I/flutter (16321):抛出了另一个异常:NoSuchMethodError:在 null 上调用了方法“<=”。I/flutter (16321):抛出了另一个异常:A RenderFlex 被底部的 Infinity 像素溢出。