@letsar has released a package called gap. Gap adds gaps between children of Rows/Columns/Scrollables that adapt to the orientation of their parent widget.
It solves the common problem of adding a space between widgets in a clean and safe manner and therefore I'd like to propose that this or a similar widget should be added to the core framework.
The current solutions to that problem, SizedBox(width: x) & SizedBox(height: x), are neither intuitive nor safe in a sense that they have to be adjusted when the orientation of their parent widget changes.
Note: I've asked @letsar and he has no objections to this proposal. Perhaps he would like to submit a PR himself. This issue is only meant to solicit approval from the Flutter Team so that somebody can initiate the work on this.
@goderbauer
@letsar has released a package called gap.
Gapadds gaps between children of Rows/Columns/Scrollables that adapt to the orientation of their parent widget.It solves the common problem of adding a space between widgets in a clean and safe manner and therefore I'd like to propose that this or a similar widget should be added to the core framework.
The current solutions to that problem,
SizedBox(width: x)&SizedBox(height: x), are neither intuitive nor safe in a sense that they have to be adjusted when the orientation of their parent widget changes.Note: I've asked @letsar and he has no objections to this proposal. Perhaps he would like to submit a PR himself. This issue is only meant to solicit approval from the Flutter Team so that somebody can initiate the work on this.
@goderbauer