Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Suggestion] ResponsiveGridList minSpacing as EdgeInsetsGeometry #10

Open
Adavo opened this issue Sep 19, 2020 · 0 comments
Open

[Suggestion] ResponsiveGridList minSpacing as EdgeInsetsGeometry #10

Adavo opened this issue Sep 19, 2020 · 0 comments

Comments

@Adavo
Copy link

Adavo commented Sep 19, 2020

Hello,

It will be better if minSpacing is not a double but is a EdgeInsetsGeometry.
For instance,

minSpacing: 20,

could be translated to

minSpacing: EdgeInsets.all(20),

which will allow us to have different spacing on left-right and top-bottom, for example :

minSpacing: EdgeInsets.fromLTRB(10, 20, 10, 20),

What do you think about this idea ?
In fact I encountered an issue on my app since I think the space between 2 objects on left-right is too large but if I decrease minSpacing, then the space between top and bottom element does not fit...

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant