gap icon indicating copy to clipboard operation
gap copied to clipboard

Add MinGap

Open migalv opened this issue 3 years ago • 0 comments

Hello, great package!

I was thinking it would be nice to have a MinGap that works as the MaxGap but the opposite. It stretches in the main axis when there is space but can't be smaller than a given size.

This is helpful when you want to separate two Widgets in the main axis but if they don't have enough space they stay at a minimum distance. For example you want to have 2 buttons separated in a row but when the Row shrinks you want them to have a separation of at least 8px, because less than that the widgets would be too close together.

migalv avatar Nov 07 '22 13:11 migalv