I have faced the issue of height related actually I am using the expansion tile widget. there is according to UI height not managed and not working so please explain to any mentor and friends or brother
I want it according to the UI height manage widget.
2
Answers
you can use SizedBox widget to manage height
SizedBox(
height://but here the height
),
if you want to know screen height you can use MediaQuery.of(context).size.height.
You can use size box :
This will set the height of the widget to 100.
Use the Expanded widget: You can use the Expanded widget to make a widget take up all the available space in its parent :
Also SingleChildScrollView
You can also use ConstrainedBox
I hope above example will help you.