Skip to content

RenderFlex overflow on Debugger screen #4917

@kenzieschmoll

Description

@kenzieschmoll

Screenshot 2022-12-09 at 10 36 32 AM

══╡ EXCEPTION CAUGHT BY RENDERING LIBRARY ╞═════════════════════════════════════════════════════════
The following assertion was thrown during layout:
A RenderFlex overflowed by 130 pixels on the right.

The relevant error-causing widget was:
  Row
  Row:file:///Users/kenzieschmoll/develop/devtools/packages/devtools_app/lib/src/screens/debugger/controls.dart:51:14

To inspect this widget in Flutter DevTools, visit:
http://127.0.0.1:9101/#/inspector?uri=http%3A%2F%2F127.0.0.1%3A50376%2FJfmk2APEhSQ%3D%2F.%2C&inspectorRef=inspector-0

The overflowing RenderFlex has an orientation of Axis.horizontal.
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#f6a6c relayoutBoundary=up2 OVERFLOWING:
  creator: Row ← SizedBox ← DebuggingControls ← Column ← SizedBox ← Flex ← LayoutBuilder ← Split ←
    DebuggerScreenBody ← Expanded ← Column ← BannerMessages ← ⋯
  parentData: <none> (can use size)
  constraints: BoxConstraints(0.0<=w<=521.3, h=32.0)
  size: Size(521.3, 32.0)
  direction: horizontal
  mainAxisAlignment: start
  mainAxisSize: max
  crossAxisAlignment: center
  textDirection: ltr
  verticalDirection: down
◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤
════════════════════════════════════════════════════════════════════════════════════════════════════
flutter: [ERROR]: A RenderFlex overflowed by 63 pixels on the right.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3issues we think are valid but not importantcost: lowLow engineering cost to implement.fix it fridaygood first issueGood for newcomersscreen: debuggerIssues with the Debugger screen

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions