Questions tagged [flutter-expanded]
6 questions
0
votes
0 answers
Resize one widget inside a row widget in flutter while the other moves
I have a row with a gridview and a rotatedbox in it. I want to change the size of the gridview, but when I change it, the rotated box moves down.
Row(
children: [
Align(
alignment:…

paban
- 1
- 1
0
votes
0 answers
How can I fix video player overflow in landscape mode?
When I changed the phone orientation to landscape video player gives bottom overflow, I'm trying several ways to deal with this. I can't use two listViews because I need the video player to stay at the top and only the list can be scrolled. Can…

Tony Stark
- 3
- 2
0
votes
1 answer
how do I make a similar gridview.builder
enter image description here
I want to create a news widget in the form of a grid with a maximum of 3 elements vertically. You need to make it so that if there are two elements, they stretch equally (something like expanded), and if there is one…

Skeleteenx
- 3
- 1
0
votes
0 answers
Flutter: How to fill vertical space before truncating Text
I have multi-line text inside an Expanded. But instead of showing ellipsis (as specified), it clips the text at the bottom.
This is because it only truncates after the specified maxLines. But depending on my device size the amount of lines that fit…

JakesMD
- 1,646
- 2
- 15
- 35
0
votes
3 answers
getting " 'hasSize': RenderBox was not laid out:" . wraping listview builder with expanded doesn't work. how to fix it?
getting " 'hasSize': RenderBox was not laid out:" . wraping listview builder with expanded doesn't work. how to fix it? . Wraping the listview with a sized box works. but The Ui requirement is the card needs to expand with the number of list in the…

Rosh
- 29
- 4
0
votes
0 answers
How to restrain DataTable to just expand on max height or lower
I have a layout in Flutter where I have a DataTable which should just expand into its contents, or to definite max height (in this example it would be 200). The DataTable definition is contained into two SingleChildScrollViews scrolling height and…

Roar Grønmo
- 2,926
- 2
- 24
- 37