Questions tagged [sliver-grid]
22 questions
0
votes
0 answers
How to place TabbarView (child: slivergrid) inside a CustomScrollView (children: Slivers) in flutter
I cant figure out how to use a tabbarview inside of a customscrollview that requires slivers for children. I have tried to wrap the tabbar view in anything i could think of but no luck so far.
desired result |
desired result with sliverappbar closed…

sergedawg
- 1
- 3
0
votes
1 answer
Flutter SliverList and CustomScrollView Error: 'owner.debugCurrentBuilderTarget == this' : is not true
Hello everyone I am trying to build a reusable SliverList into which I just pass the sliver widgets as a List to display, and doubles for padding however currently getting this error
The code of the reusable widget I am trying to build
class…

Andrea herrera
- 81
- 1
- 11
0
votes
1 answer
Change border radius only for inner edges of grids (SliverGridDelegateWithMaxCrossAxisExtent)
Need rounded corner only for edges of inner grids. In the below image, rounded corner only for
BBC News -> (top+bottom) right
ABC News -> (top+bottom) left
If there are more than two columns, then second columns items should have rounded edges on…

Vjy
- 2,106
- 3
- 22
- 34
0
votes
1 answer
Need help using Flutter in Android Studio and randomizing tiles with specific data properties
Any help is appreciated, as I have tried to figure this out and can not.
Im making a game that displays about 20 tiles randomly for each new game. I currently have a "List" widget with all 20 tiles as "Flatbutton" widgets. Then I randomize them with…

Raymond C. Fontaine
- 31
- 1
- 7
0
votes
1 answer
Flutter: Resize children in SliverGrid
I am trying to build a BottomSheet where different emojis, images and gifs are displayed in a gridview. For this I am using a CustomScrollView Widget with SliverPadding and SliverGrid. My Problem is, that I can not adjust the size of the images and…

Martin Seubert
- 978
- 3
- 21
- 37
-1
votes
1 answer
How do I an extra widget in between SliverAppBar and SliverList/Grid?
I want to add a similar item between my SliverAppBar and SliverList. I tried using a regular Row, but it kept throwing an exception. I know about SliverPadding, so I was wondering if there's something similar. Any help would be greatly appreciated.

Abin
- 15
- 3
-1
votes
2 answers
Is there a way to set the childCount on a slivergrid being populated from api?
I have the following below SliverGrid which is being populated from an API. I don't know the number number of items until I have made the API call. The current implementation below render the text 'No More' once I scroll past the past items…

yla-dev
- 144
- 2
- 10