How do I make the widgets inside a wrap stretch?

Widgets & Design

Hi!

I want the widgets inside a wrap to evenly fill the width of the wrap (like if both widgets are expanded in a row) but when the min-width is reached, the last item goes to the next row.

So if the width of the widgets are smaller than the width of the wrap, they expand

But when there's too little space the last widget gets put onto the next line (And expanded)

The min-widths aren't all the same so I don't know how many widgets each row will have.

How do I achieve this effect?

What have you tried so far?

I've tried using infinite widths on the elements inside the wrap but that always takes up the whole row.

There isn't any option to expand the widgets within a wrap.

I tried using rows but without knowing how many widgets each row would have I got stuck.

Did you check FlutterFlow's Documentation for this topic?
Yes
1