I'm trying display a slivergridview view and it just doesn't look good if it's always on full width especially on large screens
But CustomScrollView only accepts sliver widgets, which makes container & sizedbox unusable. What is your workaround on this one?
SliverPadding(
padding: EdgeInsets.symmetric(
vertical: 15,
horizontal: max((constraints.maxWidth - 1200) / 2, 0) > 15 ? max((constraints.maxWidth - 1200) / 2, 0) : 15),
sliver: SliverGrid( ...
Here's the result
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With