Questions tagged [flutter-renderflex-error]
23 questions
6
votes
1 answer
Flutter: How to handle Renderflex overflow in SliverPersistentHeader
I have a SliverPersistentHeader which contains a video. The desired behavior of this view is that as a user scrolls upward, the view should cover or minimize the size of the video. The video header is a widget containing a Chewie video player. The…

Pheepster
- 6,045
- 6
- 41
- 75
4
votes
1 answer
Failed assertion: line 4973 pos 16: 'child is! ParentDataElement': is not true
In my Flutter application, when i move the map, the changed location is supposed to show up in the container in the bottom like this Image 1, it does show up but while i m scrolling up on the location, this is flashing up Image 2.
these are the…

vansika
- 55
- 1
- 2
- 7
2
votes
1 answer
Flutter App UI bigger on real device than in simulator
I have this flutter app which runs perfectly on the iOS and Android Simulator:
app on iOS simulator
But when I am running the same exact app on my iPhone 12, everything (fontsize, textfields, etc...) appear bigger and I therefore get a…

gag0
- 89
- 1
- 7
2
votes
2 answers
Flutter: A RenderFlex overflowed by 7.0 pixels on the bottom
I'm trying to fix this padding issue, but it still occur. And i want a gap below the buttons too. please help how to fix it.
Error:
A RenderFlex overflowed by 7.0 pixels on the bottom.
The relevant error-causing widget was
Column
Error is pointing…

TimeToCode
- 1,458
- 3
- 18
- 60
2
votes
1 answer
Flutter SingleChildScrollView with Expanded
How do you guys solve the following Flutter layout??
I have a screen, where I have to show, as described in the picture: a logo + 3 TextFormFields + 2 buttons + a Container.
Problems:
I need to put all the widgets inside a Column and, the Column…

codeKiller
- 5,493
- 17
- 60
- 115
1
vote
0 answers
I can not fixed this problem I Create Navbar and Create Account design in Navbar but I can See only blank page
RenderBox was not laid out:
_RenderListTile#934f1 relayoutBoundary=up11 NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE
'package:flutter/src/rendering/box.dart': Failed assertion: line 2001
pos 12: 'hasSize' I meet this problem !!
import…
1
vote
1 answer
Error or Incompatibility in Different Device Sizes in flutter
As I stated in the code, I give the widget sizes with MediaQuery, but despite this, there are incompatibilities like the images on different devices or I get an Overflow error. What is the solution to this? How should I size my widgets and things…

Mehmet Özkan
- 13
- 3
1
vote
1 answer
type '_InternalLinkedHashMap' is not a subtype of type 'String' shows this error
I am trying to develop a messaging app and it always throws an exception
'type '_InternalLinkedHashMap' is not a subtype of type 'String'
when i am trying to give the background color to messages.
It also shows
renderflex…

Usama Bin Tahir
- 143
- 1
- 11
1
vote
0 answers
Is removing all renderflex errors in Flutter a must?
So i have been trying to find some information about how bad it is not to fix a renderflex error. I have a custom app bar which changes based on the screensize.
The searchbutton is an animated container in a row, which is stacked on top of a row…

J. White
- 21
- 1
0
votes
2 answers
Flutter display text in collapsible sidebar dynamically
I am using flutter to design UI with sidebar navigation, which will be collapsed (icon only) by default and show the labels when expanded.
When the sidebar is expanded, it flickers an error
A RenderFlex overflowed by 4.3 pixels on the right.
Here…

Anuj TBE
- 9,198
- 27
- 136
- 285
0
votes
1 answer
Flutter: column bottom overflow, renderflex error
I am trying to build 2 Listview.builder ontop of each other and to do that I am using Column to have more than 1 child as follows:
@override
Widget build(BuildContext context) {
return widget.category == 0
? Column(
…

FlutterBuilder
- 33
- 5
0
votes
2 answers
Horizontal ListView doesn't show children with no fixed width
I'm trying to replicate this design:
image
These 3 are progress indicators and their number is dynamic. That's why I thought of creating a list view and populating it depending on their number. Plus their size should NOT be fixed and they must, as a…

Hasan Shaddad
- 3
- 3
0
votes
2 answers
Flutter: RenderFlex overflow when using column
I'm getting a renderflex overflow error which displays as the following:
It's coming from the following code:
return Column(
children: [
DropdownButton(
…

FlutterBuilder
- 33
- 5
0
votes
0 answers
Exception caught by rendering library (Fitted Box Error)
Since i implemnetd the FittedBox with a Full width Image the app tells me to that i have a render error but i cant fix it.
All the other widgets have a expanded function and it all worked fine until i inserted the banner.
But even if i make it as…

Patrick Meyer
- 1
- 1
0
votes
2 answers
RenderFlex overflowed email.toString() - Flutter
Whenever I am writing Text(email.toString()), it gives the error of RenderFlex overflowed, please help me how to fix it. I am using SharedPreferences.

Shahzain Ahmed
- 65
- 12