Closed heshesh2010 closed 7 months ago
I have a same issue. Anyone able to get past it?
You can use a PagedSliverGrid
with a CustomScrollView
instead of a GridView
.
in the slivers
parameter you can then insert your custom widget inside a SliverToBoxAdapter
without it being part of the pagination.
return CustomScrollView(
slivers: [
SliverToBoxAdapter(
child: FirstWidget(), // e.g. button
),
PagedSliverGrid(
// ...
),
],
);
Hi , when using normal grid view I can set itemCount to +1 so I can customize first index when index ==0
but now how to achieve this in your package pls .