Questions tagged [expanded]
20 questions
0
votes
0 answers
Add Flutter animation on expanded widget
I'm new to flutter animation, please help me.
I want to create a row with 2 expanded inside (first is flex: 2, and the second is flex: 8), the first expanded is conditioned with a button to open (like a drawer effect).
I want to show/open the first…

Farik_23
- 35
- 4
0
votes
3 answers
Flutter: keep the same ratio for all images in list in expanded widget
I have a list with an Image and Text in a Row. Both are in an Expanded widget to get the same width.
Widget item(String value, String imageLocation) => Row(children: [
Expanded(
child: Image.asset(
…

Turvy
- 882
- 1
- 8
- 23
0
votes
1 answer
The ownership chain for the RenderObject that received the incompatible parent data in Flutter
An error occurred saying Incorrect use of ParentDataWidget when I used the Expanded widget as follows.
What did I do wrong here?
As well, what is the meaning of ownership chain?
The code is as follows,
Expanded(
child: Wrap(
…

Tharindu Lakshan
- 3,995
- 6
- 24
- 44
-1
votes
1 answer
Flutter responsive column
I have several containers which have a different content, eg. checkbox, text... They are placed in column which is inside SingleChildScrollView (scroll if the screen becomes too tiny).
I try to use extended flex and spacers to increase the size of…

JD11
- 1
- 1
-2
votes
1 answer
How to add a TextButton inside ProfileListItem in flutter
how i create a text button inside profile list item?
please check the code and help to create a text button i edited previous code because 2 person said that they need to see my ProfileListItem
i tried to add a TextButton inside ProfileListItem but…