How to fix “A RenderFlex overflowed by 1329 pixels on the right” on iOS SimulatorFlutter Layout: How can I put a Row inside a Flex (or another Row) in Flutter? Also using Stack widgetFlutter: Using an array of Stateful Widgets inside a Stateful Widget causes a 'A RenderFlex overflow'How to set grid view column height?how to implement a sliverAppBar with a tabBarHow to offset a scaffold widget in Flutter?Adding Card to ListViewFlutter Nested List View why Cant i use a Row?flutter dropdown not laying outFlutter/Dart, Switch: Another exception was thrown: A RenderFlex overflowed by 99640 pixels on the right
How can I tell if a flight itinerary is fake?
Performance of a branch and bound algorithm VS branch-cut-heuristics
Who are these characters/superheroes in the posters from Chris's room in Family Guy?
Optimal way to extract "positive part" of a multivariate polynomial
Could one become a successful researcher by writing some really good papers while being outside academia?
Visa National - No Exit Stamp From France on Return to the UK
Y2K... in 2019?
Dereferencing a pointer in a 'for' loop initializer creates a segmentation fault
As a 16 year old, how can I keep my money safe from my mother?
How do I explain to a team that the project they will work on for six months will certainly be cancelled?
Is it really ~648.69 km/s delta-v to "land" on the surface of the Sun?
Table content alignment to centre using tabular
Ex-contractor published company source code and secrets online
How would I as a DM create a smart phone-like spell/device my players could use?
How does The Fools Guild make its money?
Why did Gandalf use a sword against the Balrog?
Why should we care about syntactic proofs if we can show semantically that statements are true?
Is it incorrect to write "I rate this book a 3 out of 4 stars?"
English - Acceptable use of parentheses in an author's name
Max Order of an Isogeny Class of Rational Elliptic Curves is 8?
Look mom! I made my own (Base 10) numeral system!
Does two puncture wounds mean venomous snake?
What are the uses and limitations of Persuasion, Insight, and Deception against other PCs?
Why couldn't soldiers sight their own weapons without officers' orders?
How to fix “A RenderFlex overflowed by 1329 pixels on the right” on iOS Simulator
Flutter Layout: How can I put a Row inside a Flex (or another Row) in Flutter? Also using Stack widgetFlutter: Using an array of Stateful Widgets inside a Stateful Widget causes a 'A RenderFlex overflow'How to set grid view column height?how to implement a sliverAppBar with a tabBarHow to offset a scaffold widget in Flutter?Adding Card to ListViewFlutter Nested List View why Cant i use a Row?flutter dropdown not laying outFlutter/Dart, Switch: Another exception was thrown: A RenderFlex overflowed by 99640 pixels on the right
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
How do I resolve the exception "flutter: Another exception was thrown: A RenderFlex overflowed by 1329 pixels on the right"
getAgentSnippet(Snippet snippet)
return Column(
children: <Widget>[
new Container(
margin: const EdgeInsets.symmetric(vertical: 10.0),
child: new Row(
crossAxisAlignment: CrossAxisAlignment.start,
children: <Widget>[
Padding(
padding: const EdgeInsets.only(left: 20.0),
),
new Container(
child: new CircleAvatar(child: new Text('A')),
),
new Column(
crossAxisAlignment: CrossAxisAlignment.start,
mainAxisSize: MainAxisSize.max,
children: <Widget>[
Padding(
padding: const EdgeInsets.fromLTRB(10.0, 0.0, 0.0, 0.0),
),
new Text(model.name,
style: Theme.of(context).textTheme.subhead),
new Container(
margin: const EdgeInsets.only(top: 5.0),
child: new Text(
snippet.text,
),
),
],
),
],
),
),
],
);
I get the exception seen below:
flutter: Another exception was thrown: A RenderFlex overflowed by 327 pixels on the right.
flutter: Another exception was thrown: A RenderFlex overflowed by 1753 pixels on the right.
flutter: Another exception was thrown: A RenderFlex overflowed by 487 pixels on the right.
flutter: Another exception was thrown: A RenderFlex overflowed by 1381 pixels on the right.
flutter: Another exception was thrown: A RenderFlex overflowed by 1308 pixels on the right.
flutter: Another exception was thrown: A RenderFlex overflowed by 1347 pixels on the right.
flutter: Another exception was thrown: A RenderFlex overflowed by 53 pixels on the right.
flutter: Another exception was thrown: A RenderFlex overflowed by 293 pixels on the right.
flutter: Another exception was thrown: A RenderFlex overflowed by 2141 pixels on the right.
This is a overflow problem i'm facing
flutter
add a comment |
How do I resolve the exception "flutter: Another exception was thrown: A RenderFlex overflowed by 1329 pixels on the right"
getAgentSnippet(Snippet snippet)
return Column(
children: <Widget>[
new Container(
margin: const EdgeInsets.symmetric(vertical: 10.0),
child: new Row(
crossAxisAlignment: CrossAxisAlignment.start,
children: <Widget>[
Padding(
padding: const EdgeInsets.only(left: 20.0),
),
new Container(
child: new CircleAvatar(child: new Text('A')),
),
new Column(
crossAxisAlignment: CrossAxisAlignment.start,
mainAxisSize: MainAxisSize.max,
children: <Widget>[
Padding(
padding: const EdgeInsets.fromLTRB(10.0, 0.0, 0.0, 0.0),
),
new Text(model.name,
style: Theme.of(context).textTheme.subhead),
new Container(
margin: const EdgeInsets.only(top: 5.0),
child: new Text(
snippet.text,
),
),
],
),
],
),
),
],
);
I get the exception seen below:
flutter: Another exception was thrown: A RenderFlex overflowed by 327 pixels on the right.
flutter: Another exception was thrown: A RenderFlex overflowed by 1753 pixels on the right.
flutter: Another exception was thrown: A RenderFlex overflowed by 487 pixels on the right.
flutter: Another exception was thrown: A RenderFlex overflowed by 1381 pixels on the right.
flutter: Another exception was thrown: A RenderFlex overflowed by 1308 pixels on the right.
flutter: Another exception was thrown: A RenderFlex overflowed by 1347 pixels on the right.
flutter: Another exception was thrown: A RenderFlex overflowed by 53 pixels on the right.
flutter: Another exception was thrown: A RenderFlex overflowed by 293 pixels on the right.
flutter: Another exception was thrown: A RenderFlex overflowed by 2141 pixels on the right.
This is a overflow problem i'm facing
flutter
add a comment |
How do I resolve the exception "flutter: Another exception was thrown: A RenderFlex overflowed by 1329 pixels on the right"
getAgentSnippet(Snippet snippet)
return Column(
children: <Widget>[
new Container(
margin: const EdgeInsets.symmetric(vertical: 10.0),
child: new Row(
crossAxisAlignment: CrossAxisAlignment.start,
children: <Widget>[
Padding(
padding: const EdgeInsets.only(left: 20.0),
),
new Container(
child: new CircleAvatar(child: new Text('A')),
),
new Column(
crossAxisAlignment: CrossAxisAlignment.start,
mainAxisSize: MainAxisSize.max,
children: <Widget>[
Padding(
padding: const EdgeInsets.fromLTRB(10.0, 0.0, 0.0, 0.0),
),
new Text(model.name,
style: Theme.of(context).textTheme.subhead),
new Container(
margin: const EdgeInsets.only(top: 5.0),
child: new Text(
snippet.text,
),
),
],
),
],
),
),
],
);
I get the exception seen below:
flutter: Another exception was thrown: A RenderFlex overflowed by 327 pixels on the right.
flutter: Another exception was thrown: A RenderFlex overflowed by 1753 pixels on the right.
flutter: Another exception was thrown: A RenderFlex overflowed by 487 pixels on the right.
flutter: Another exception was thrown: A RenderFlex overflowed by 1381 pixels on the right.
flutter: Another exception was thrown: A RenderFlex overflowed by 1308 pixels on the right.
flutter: Another exception was thrown: A RenderFlex overflowed by 1347 pixels on the right.
flutter: Another exception was thrown: A RenderFlex overflowed by 53 pixels on the right.
flutter: Another exception was thrown: A RenderFlex overflowed by 293 pixels on the right.
flutter: Another exception was thrown: A RenderFlex overflowed by 2141 pixels on the right.
This is a overflow problem i'm facing
flutter
How do I resolve the exception "flutter: Another exception was thrown: A RenderFlex overflowed by 1329 pixels on the right"
getAgentSnippet(Snippet snippet)
return Column(
children: <Widget>[
new Container(
margin: const EdgeInsets.symmetric(vertical: 10.0),
child: new Row(
crossAxisAlignment: CrossAxisAlignment.start,
children: <Widget>[
Padding(
padding: const EdgeInsets.only(left: 20.0),
),
new Container(
child: new CircleAvatar(child: new Text('A')),
),
new Column(
crossAxisAlignment: CrossAxisAlignment.start,
mainAxisSize: MainAxisSize.max,
children: <Widget>[
Padding(
padding: const EdgeInsets.fromLTRB(10.0, 0.0, 0.0, 0.0),
),
new Text(model.name,
style: Theme.of(context).textTheme.subhead),
new Container(
margin: const EdgeInsets.only(top: 5.0),
child: new Text(
snippet.text,
),
),
],
),
],
),
),
],
);
I get the exception seen below:
flutter: Another exception was thrown: A RenderFlex overflowed by 327 pixels on the right.
flutter: Another exception was thrown: A RenderFlex overflowed by 1753 pixels on the right.
flutter: Another exception was thrown: A RenderFlex overflowed by 487 pixels on the right.
flutter: Another exception was thrown: A RenderFlex overflowed by 1381 pixels on the right.
flutter: Another exception was thrown: A RenderFlex overflowed by 1308 pixels on the right.
flutter: Another exception was thrown: A RenderFlex overflowed by 1347 pixels on the right.
flutter: Another exception was thrown: A RenderFlex overflowed by 53 pixels on the right.
flutter: Another exception was thrown: A RenderFlex overflowed by 293 pixels on the right.
flutter: Another exception was thrown: A RenderFlex overflowed by 2141 pixels on the right.
This is a overflow problem i'm facing
flutter
flutter
edited Mar 27 at 8:01
R. Duggan
5133 silver badges22 bronze badges
5133 silver badges22 bronze badges
asked Mar 27 at 7:53
arsharsh
81 bronze badge
81 bronze badge
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
An overflow exception is caused when the widget you are trying to display on the screen is too large to fit on the screen and thus an overflow occurs. From your picture it seems like you have text that you want to display but if the text is too long then it will overflow. You have two options:
- Make your text within your last container a scrollable text view to stop it from overflowing and instead allow the person to scroll to read it all. This can be achieved using a
SingleChildScrollView
.
Or
- Change your final Text widget at the bottom to a TextField with
maxLines
as0
allowing the textfield to expand to fit the string length you pass to it.
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55372216%2fhow-to-fix-a-renderflex-overflowed-by-1329-pixels-on-the-right-on-ios-simulato%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
An overflow exception is caused when the widget you are trying to display on the screen is too large to fit on the screen and thus an overflow occurs. From your picture it seems like you have text that you want to display but if the text is too long then it will overflow. You have two options:
- Make your text within your last container a scrollable text view to stop it from overflowing and instead allow the person to scroll to read it all. This can be achieved using a
SingleChildScrollView
.
Or
- Change your final Text widget at the bottom to a TextField with
maxLines
as0
allowing the textfield to expand to fit the string length you pass to it.
add a comment |
An overflow exception is caused when the widget you are trying to display on the screen is too large to fit on the screen and thus an overflow occurs. From your picture it seems like you have text that you want to display but if the text is too long then it will overflow. You have two options:
- Make your text within your last container a scrollable text view to stop it from overflowing and instead allow the person to scroll to read it all. This can be achieved using a
SingleChildScrollView
.
Or
- Change your final Text widget at the bottom to a TextField with
maxLines
as0
allowing the textfield to expand to fit the string length you pass to it.
add a comment |
An overflow exception is caused when the widget you are trying to display on the screen is too large to fit on the screen and thus an overflow occurs. From your picture it seems like you have text that you want to display but if the text is too long then it will overflow. You have two options:
- Make your text within your last container a scrollable text view to stop it from overflowing and instead allow the person to scroll to read it all. This can be achieved using a
SingleChildScrollView
.
Or
- Change your final Text widget at the bottom to a TextField with
maxLines
as0
allowing the textfield to expand to fit the string length you pass to it.
An overflow exception is caused when the widget you are trying to display on the screen is too large to fit on the screen and thus an overflow occurs. From your picture it seems like you have text that you want to display but if the text is too long then it will overflow. You have two options:
- Make your text within your last container a scrollable text view to stop it from overflowing and instead allow the person to scroll to read it all. This can be achieved using a
SingleChildScrollView
.
Or
- Change your final Text widget at the bottom to a TextField with
maxLines
as0
allowing the textfield to expand to fit the string length you pass to it.
answered Mar 27 at 8:03
R. DugganR. Duggan
5133 silver badges22 bronze badges
5133 silver badges22 bronze badges
add a comment |
add a comment |
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55372216%2fhow-to-fix-a-renderflex-overflowed-by-1329-pixels-on-the-right-on-ios-simulato%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown