0

when I run the project it shows A RenderFlex overflowed on the bottom enter image description here A RenderFlex overflowed by 6.7 pixels on the bottom.

4 Answers 4

2

In your Scaffold, set resizeToAvoidBottomInset property to false.

Sign up to request clarification or add additional context in comments.

Comments

1

Try below code hope its helpful to you. add your Column inside SingleChildScrollView

Refer my answer here also

SingleChildScrollView( child:Column( children:[ //Declare Your Widgets Here ], ), ), 

Comments

1

When the kayboard appears, it may hide something. To avoid this problem, you can wrap the entire screen widget in a SingleChildScrollView. This will mate the screen scrollable.

Comments

1

A quick solution would be to block the widgets inside the Scaffold to resize themselves when the keyboard opens but this way,

return Scaffold( appBar: AppBar( title: Text('Expenses Tracker'), ), body: SingleChildScrollView( // wrap with a scrollable widget child: Column( children: <Widget>[ ...... // other widgets ], ), ), ); 

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.