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
The following assertion was thrown during layout:
A RenderFlex overflowed by 2.2 pixels on the bottom.
The relevant error-causing widget was:
Column
The overflowing RenderFlex has an orientation of Axis.vertical.
The edge of the RenderFlex that is overflowing has been marked in the rendering with a yellow and
black striped pattern. This is usually caused by the contents being too big for the RenderFlex.
Consider applying a flex factor (e.g. using an Expanded widget) to force the children of the
RenderFlex to fit within the available space instead of being sized to their natural size.
This is considered an error condition because it indicates that there is content that cannot be
seen. If the content is legitimately bigger than the available space, consider clipping it with a
ClipRect widget before putting it in the flex, or using a scrollable container rather than a Flex,
like a ListView.
The specific RenderFlex in question is: RenderFlex#5b952 OVERFLOWING:
needs compositing
creator: Column ← PrimaryScrollController ← _ExtendedSliverFillRemainingWithScrollable ←
NestedScrollViewViewport ← IgnorePointer-[GlobalKey#6a289] ← Semantics ← Listener ←
_GestureSemantics ← RawGestureDetector-[LabeledGlobalKey<RawGestureDetectorState>#f88cd] ←
Listener ← _ScrollableScope ← _ScrollSemantics-[GlobalKey#23cd8] ← ⋯
parentData: paintOffset=Offset(0.0, -0.0)
constraints: BoxConstraints(w=360.0, h=45.8)
size: Size(360.0, 45.8)
direction: vertical
mainAxisAlignment: start
mainAxisSize: max
crossAxisAlignment: center
verticalDirection: down
如果头部内容比较多的时候,下拉刷新,会导致TabBar触碰屏幕底部,这个时候报错了:
完整代码:
Originally posted by @lan2000 in #508 (comment)
The text was updated successfully, but these errors were encountered: