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

Right Overflow in cart_data.dart [fixed] #28

Closed
upendra-bajpai opened this issue Jan 30, 2021 · 0 comments
Closed

Right Overflow in cart_data.dart [fixed] #28

upendra-bajpai opened this issue Jan 30, 2021 · 0 comments

Comments

@upendra-bajpai
Copy link

I fixed this issue.
I/flutter (21816): ══╡ EXCEPTION CAUGHT BY RENDERING LIBRARY ╞═════════════════════════════════════════════════════════
[ +3 ms] I/flutter (21816): The following assertion was thrown during layout:
[ +36 ms] I/flutter (21816): A RenderFlex overflowed by 6.4 pixels on the right.
[ +3 ms] I/flutter (21816): The relevant error-causing widget was:
[ +1 ms] I/flutter (21816): Row
[ +26 ms] I/flutter (21816): *
file:///C:/data/projects/flutter/E-commerce-Complete-Flutter-UI/lib/screens/cart/components/cart_card.dart:17:12

[ +25 ms] I/flutter (21816): The overflowing RenderFlex has an orientation of Axis.horizontal.
[ +3 ms] I/flutter (21816): The edge of the RenderFlex that is overflowing has been marked in the rendering with a yellow and
[ +1 ms] I/flutter (21816): black striped pattern. This is usually caused by the contents being too big for the RenderFlex.
[ +4 ms] I/flutter (21816): Consider applying a flex factor (e.g. using an Expanded widget) to force the children of the
[ +4 ms] I/flutter (21816): RenderFlex to fit within the available space instead of being sized to their natural size.
[ +16 ms] I/flutter (21816): This is considered an error condition because it indicates that there is content that cannot be
[ +20 ms] I/flutter (21816): seen. If the content is legitimately bigger than the available space, consider clipping it with a
[ +5 ms] I/flutter (21816): ClipRect widget before putting it in the flex, or using a scrollable container rather than a Flex,
[ +1 ms] I/flutter (21816): like a ListView.
[ +3 ms] I/flutter (21816): The specific RenderFlex in question is: RenderFlex#509ad relayoutBoundary=up10 OVERFLOWING:
[ +5 ms] I/flutter (21816): creator: Row ← CartCard ← FractionalTranslation ← SlideTransition ← Stack ← Listener ←
[ +13 ms] I/flutter (21816): _GestureSemantics ← RawGestureDetector ← GestureDetector ← Dismissible-[<'1'>] ← Padding ←
[ +32 ms] I/flutter (21816): RepaintBoundary ← ⋯
[ +19 ms] I/flutter (21816): parentData: (can use size)
[ +5 ms] I/flutter (21816): constraints: BoxConstraints(0.0<=w<=321.6, 0.0<=h<=Infinity)
[ +1 ms] I/flutter (21816): size: Size(321.6, 100.0)
[ +3 ms] I/flutter (21816): direction: horizontal
[ +5 ms] I/flutter (21816): mainAxisAlignment: start
[ +43 ms] I/flutter (21816): mainAxisSize: max
[ +7 ms] I/flutter (21816): crossAxisAlignment: center
[ +22 ms] I/flutter (21816): textDirection: ltr
[ +2 ms] I/flutter (21816): verticalDirection: down
[ +4 ms] I/flutter (21816): ◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤
[ +14 ms] I/flutter (21816): ════════════════════════════════════════════════════════════════════════════════════════════════════
[ +6 ms] I/flutter (21816): Another exception was thrown: A RenderFlex overflowed by 7.4 pixels on the right.
WhatsApp Image 2021-01-30 at 10 03 47 PM

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

2 participants