Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Control Widget layout issue (overflow) #28

Open
jdevp opened this issue Jun 24, 2023 · 0 comments
Open

Control Widget layout issue (overflow) #28

jdevp opened this issue Jun 24, 2023 · 0 comments

Comments

@jdevp
Copy link

jdevp commented Jun 24, 2023

The following error occurs when showing a vertical video horizontally. It has no effect by setting the parent widget larger.

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#95dc4 relayoutBoundary=up7 OVERFLOWING:
creator: Row ← Column ← ColoredBox ← Container ← _MediaControls ← Offstage ← Positioned ← Stack ←
_MediaController ← NativeVideoView ← Align ← ConstrainedBox ← ⋯
parentData: offset=Offset(0.0, 0.0); flex=null; fit=null (can use size)
constraints: BoxConstraints(0.0<=w<=169.2, 0.0<=h<=Infinity)
size: Size(169.2, 48.0)
direction: horizontal
mainAxisAlignment: center
mainAxisSize: max
crossAxisAlignment: center
textDirection: ltr
verticalDirection: down

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant