ResponsiveGrid_Flutter icon indicating copy to clipboard operation
ResponsiveGrid_Flutter copied to clipboard

[Suggestion] ResponsiveGridList minSpacing as EdgeInsetsGeometry

Open Adavo opened this issue 4 years ago • 0 comments

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

Adavo avatar Sep 19 '20 17:09 Adavo