You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Wrap has two wonderful parameters runSpacing for vertical spacing and spacing for horizontal spacing. I'd like to see a spacing parameter on both Column and Row.
This is how we currently doing it, I'm asking to unify the spacing API across Wrap, Column, Row. This isn't a question of if there is another solution, it's a question of providing more unified "color" to the commonly used layout APIs.
I really appreciate all the discussion here and am looking forward to using it when it's released in stable!
After reading all the comments though, I couldn't figure out what the reason was that it finally got included in the framework as a property on both Row and Column.
Would someone kindly recap what the reasons were that ultimately allowed this feature to be introduced?
I think the PR is very elegant and also caught clipBehavior not being added to the debugFillProperties 👏 Well done @TahaTesser.
Seems to be "too much people want this" with "the change is actually super small" with "it is super useful" with "I don't think there is a better way" with "we wish we could rewrite Row entirely but we can't".
Reacted by Nate Wilson, Tobias Marschall and Casey Rogers
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Activity
VladyslavBondarenko commentedon Apr 23, 2020
Hi @lukepighetti
Does this workaround suit to you #16957 (comment)?
Do you have some case where it's not applicable?
lukepighetti commentedon Apr 23, 2020
This is how we currently doing it, I'm asking to unify the spacing API across Wrap, Column, Row. This isn't a question of if there is another solution, it's a question of providing more unified "color" to the commonly used layout APIs.
henry2man commentedon Mar 31, 2022
Inspired in other solutions & workarounds I've published this gist that adds support for this FR: https://gist.github.com/henry2man/28595050f09633e16641d5f30f1a32ae
[-]add runSpacing to Column and spacing to Row[/-][+]add spacing parameter to Column and Row[/+]104 remaining items
Piinks commentedon Aug 5, 2024
Reopening since the change was reverted, just need to address a failing integration test to resolve and get it back in. 👍
[Reland] Introduce `double` `Flex.spacing` parameter for `Row`/`Colum…
Introduce `double` `Flex.spacing` parameter for `Row`/`Column` spacing (
Reverts "Introduce `double` `Flex.spacing` parameter for `Row`/`Colum…
[Reland] Introduce `double` `Flex.spacing` parameter for `Row`/`Colum…
SupposedlySam commentedon Aug 13, 2024
I really appreciate all the discussion here and am looking forward to using it when it's released in stable!
After reading all the comments though, I couldn't figure out what the reason was that it finally got included in the framework as a property on both Row and Column.
Would someone kindly recap what the reasons were that ultimately allowed this feature to be introduced?
I think the PR is very elegant and also caught
clipBehaviornot being added to thedebugFillProperties👏 Well done @TahaTesser.It looks like this comment from @Hixie might be the reason: #152472 (comment)
bernaferrari commentedon Aug 13, 2024
Seems to be "too much people want this" with "the change is actually super small" with "it is super useful" with "I don't think there is a better way" with "we wish we could rewrite Row entirely but we can't".
github-actions commentedon Aug 27, 2024
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.