You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
flutter: _RenderDecoration object was given an infinite size during layout.
This probably means that it is a render object that tries to be as big as possible, but it was put inside another render object that allows its children to pick their own size.
The nearest ancestor providing an unbounded height constraint is: _RenderSingleChildViewport#75342 NEEDS-LAYOUT NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE:
needs compositing
creator: _SingleChildViewport ← IgnorePointer-[GlobalKey#b5358] ← Semantics ← Listener ← _GestureSemantics ← RawGestureDetector-[LabeledGlobalKey#b8aed] ← Listener ← _ScrollableScope ← _ScrollSemantics-[GlobalKey#af001] ← NotificationListener ← Scrollable ← SingleChildScrollView ← ⋯
parentData: (can use size)
constraints: BoxConstraints(w=394.0, h=505.0)
size: MISSING
offset: Offset(0.0, -0.0)
The constraints that applied to the _RenderDecoration were:
BoxConstraints(w=394.0, 505.0<=h<=Infinity)
The exact size it was given was:
Size(394.0, Infinity)
The text was updated successfully, but these errors were encountered:
我发现使用在textfield中使用maxLength属性以后,控制台有报错。
而且原本显示文本框中字数的文字,错位显示到textfield起始的位置。
有碰见类似问题的吗
flutter: _RenderDecoration object was given an infinite size during layout.
This probably means that it is a render object that tries to be as big as possible, but it was put inside another render object that allows its children to pick their own size.
The nearest ancestor providing an unbounded height constraint is: _RenderSingleChildViewport#75342 NEEDS-LAYOUT NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE:
needs compositing
creator: _SingleChildViewport ← IgnorePointer-[GlobalKey#b5358] ← Semantics ← Listener ← _GestureSemantics ← RawGestureDetector-[LabeledGlobalKey#b8aed] ← Listener ← _ScrollableScope ← _ScrollSemantics-[GlobalKey#af001] ← NotificationListener ← Scrollable ← SingleChildScrollView ← ⋯
parentData: (can use size)
constraints: BoxConstraints(w=394.0, h=505.0)
size: MISSING
offset: Offset(0.0, -0.0)
The constraints that applied to the _RenderDecoration were:
BoxConstraints(w=394.0, 505.0<=h<=Infinity)
The exact size it was given was:
Size(394.0, Infinity)
The text was updated successfully, but these errors were encountered: