Wrap(
children: List.generate(channelIds.length,
(index) => chipItem(channelIds[index], AppUtils.filteredByChannelId)),
),
So I have used List.generate but I want to display items in horizontally. I applied,
direction: Axis.horizontal,
In a Wrap, I gave a direction but it is not working.
3
Answers
above code works for me
instead of using List.generate use this
use like this