i have a situation in which i have to do like this
i have tried many solutions but unable to store is it possible??
Expanded(
child: Row(
// mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
ListView.builder(
shrinkWrap: true,
itemCount: selectedMainCasteIds?.length,
itemBuilder: (context, index) {
return Text('${selectedMainCasteIds![index].mainCasteName}',style: TextStyle(fontSize: 10),);
},
),
Text('ddddd'),
ListView.builder(
shrinkWrap: true,
itemCount: selectedMainCasteIds?.length,
itemBuilder: (context, index) {
return Text('${selectedMainCasteIds![index].mainCasteName}',style: TextStyle(fontSize: 10),);
},
),
],
),
),
2
Answers
wrap you
Listview
withExpanded
too.Output: