Layouts: Packing widgets

By default, a row or column occupies as much space along its main axis as possible, but if you want to pack the children closely together, set its mainAxisSize to MainAxisSize.min. The following example uses this property to pack the star icons together.

Layouts: Packing widgets — Structure map

Clickable & Draggable!

Layouts: Packing widgets — Related pages: