Reputation: 175
I have a struggle to move the text to center with Wrap. I want the beach and colon to be aligned with the circle. I have modified my code but it doesn't seem to move. Is anyone knows how to do it?
Upvotes: 1
Views: 53
Reputation: 4404
just add crossAlignment
. and I also suggest to use spacing instead of manual padding
child: Wrap(
alignment: WrapAlignment.spaceBetween,
crossAxisAlignment: WrapCrossAlignment.center,
spacing: 8, // horizontal
runSpacing : 10 // vertical
....
Upvotes: 2