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

A RenderFlex overflowed by 13 pixels on the bottom [Pixel 3a] #35

Open
awhitford opened this issue Mar 15, 2020 · 2 comments
Open

A RenderFlex overflowed by 13 pixels on the bottom [Pixel 3a] #35

awhitford opened this issue Mar 15, 2020 · 2 comments

Comments

@awhitford
Copy link

Visually, I don't see the overflow, but I get this when clicking on a Date Range field, which pops up a DateRangePicker:

I/flutter ( 6785): ══╡ EXCEPTION CAUGHT BY RENDERING LIBRARY ╞═════════════════════════════════════════════════════════
I/flutter ( 6785): The following assertion was thrown during layout:
I/flutter ( 6785): A RenderFlex overflowed by 13 pixels on the bottom.
I/flutter ( 6785): 
I/flutter ( 6785): The relevant error-causing widget was:
I/flutter ( 6785):   Column
I/flutter ( 6785):   file:///Users/anthony/flutter/.pub-cache/hosted/pub.dartlang.org/date_range_picker-1.0.6/lib/date_range_picker.dart:1180:24
I/flutter ( 6785): 
I/flutter ( 6785): The overflowing RenderFlex has an orientation of Axis.vertical.
I/flutter ( 6785): The edge of the RenderFlex that is overflowing has been marked in the rendering with a yellow and
I/flutter ( 6785): black striped pattern. This is usually caused by the contents being too big for the RenderFlex.
I/flutter ( 6785): Consider applying a flex factor (e.g. using an Expanded widget) to force the children of the
I/flutter ( 6785): RenderFlex to fit within the available space instead of being sized to their natural size.
I/flutter ( 6785): This is considered an error condition because it indicates that there is content that cannot be
I/flutter ( 6785): seen. If the content is legitimately bigger than the available space, consider clipping it with a
I/flutter ( 6785): ClipRect widget before putting it in the flex, or using a scrollable container rather than a Flex,
I/flutter ( 6785): like a ListView.
I/flutter ( 6785): The specific RenderFlex in question is: RenderFlex#18147 relayoutBoundary=up7 OVERFLOWING:
I/flutter ( 6785):   needs compositing
I/flutter ( 6785):   creator: Column ← SizedBox ← LayoutBuilder ← OrientationBuilder ← DefaultTextStyle ←
I/flutter ( 6785):     AnimatedDefaultTextStyle ← _InkFeatures-[GlobalKey#55cb6 ink renderer] ←
I/flutter ( 6785):     NotificationListener<LayoutChangedNotification> ← CustomPaint ← _ShapeBorderPaint ← PhysicalShape
I/flutter ( 6785):     ← _MaterialInterior ← ⋯
I/flutter ( 6785):   parentData: <none> (can use size)
I/flutter ( 6785):   constraints: BoxConstraints(w=312.7, 0.0<=h<=459.1)
I/flutter ( 6785):   size: Size(312.7, 459.1)
I/flutter ( 6785):   direction: vertical
I/flutter ( 6785):   mainAxisAlignment: start
I/flutter ( 6785):   mainAxisSize: min
I/flutter ( 6785):   crossAxisAlignment: stretch
I/flutter ( 6785):   verticalDirection: down
I/flutter ( 6785): ◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤
I/flutter ( 6785): ════════════════════════════════════════════════════════════════════════════════════════════════════

I am running the Android Emulator for a Pixel 3a:

  • Resolution of 1080 x 2220 (440 dpi)
  • API 28
  • Android 9.0
@awhitford
Copy link
Author

My app uses the Nunito Sans font -- maybe that is part of the issue?

@felangga
Copy link

felangga commented Apr 8, 2020

which flutter version do you use?

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