For ListView
or GridView
we wrap it with Container
. But how can I give background color to SliverGrid
?
How to give background color to SliverGrid?
6.5k Views Asked by Figen Güngör At
3
For ListView
or GridView
we wrap it with Container
. But how can I give background color to SliverGrid
?
Try
DecoratedSliver
as wrapper aroundSliverGrid
.This way, you can give any part of your
Sliver*
a decoration.