yeah probably
Yea row could do that or u can use listtile. Ttile and trailing
ok i was so confused for the first time
Listtile is better for responsive design for this example
how? this is a Facebook post feed so if i use listtile it makes all children be clicked when i click a listtile
U can make all children clickable or u can only make trailing with click
i think the easier approach is use a row with 2 chlidren
I thinks it is like this. Row( children: mainAxisAlignment:MainAxisAlignment.spaceBetween, [ MaterialButton( onPress: () {}, child:CircleAvator(), ), MaterialButton( onPress: () {}, child:Container( child: Text('what's on your mind '), ), IconButton( onPress: () {}, icon: Icon(Icons.image), ), ]),
just for understanding though i know there is a some mistakes because i wrote it on my phone.
Use expanded for the text
https://api.flutter.dev/flutter/material/SearchBar-class.html
Обсуждают сегодня