-
-
Notifications
You must be signed in to change notification settings - Fork 180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build StickyHeaders dynamicly #52
Comments
Can you elaborate? You can do something like this: return CustomScrollView(
slivers: [
...groups.map(
(group) {
return SliverStickyHeader(
header:Text(group.title),
sliver: SliverList(
delegate: SliverChildBuilderDelegate(
(BuildContext context, int index) {
return Text(group.items[index].label);
},
childCount: group.items.length,
),
),
);
},
),
],
); |
I'm creating upcoming page of a todo app. user can scroll indefinitely so |
It doesn't seem to be related to this package. |
Did you find a solution on how to lazy-load StickyHeaders? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, thanks for your library this is not an issue/bug with this library. I'm stuck on generating
StickyHeader
as a builder pattern. I want to create a finite list just likeListView.Builder
but withCustomScrollView
. More detail can be found here sorry again for opening this issueThe text was updated successfully, but these errors were encountered: