-
-
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
Differences to slightfoot/flutter_sticky_headers #1
Comments
Hi @levrik! This is a very good question. For example the Column widget renders a RenderBox, whereas the SliverList renders a RenderSliver. With this package you can do both 😉! What 😯? I said that this package wants a RenderSliver and the Column widget does not provide one! Yes that's true, but with the SliverToBoxAdapter widget you can put a RenderBox element in it and it will be rendered as a RenderSliver 😲! So if you use this package you can do both 😃! Moreover, the intended use of headers is typically for lists with a lot of items. And for lists, the SliverList is a better choice than a Column. If this answer explains in an understandable way the difference, I will put it in the README, to help people to choose 😉. |
@letsar This was helpful for me and I think belongs in the README with potentially some elaboration on why this will perform better on big lists. |
Was helpful thanks. Being new to flutter sometime you can know the advantages. |
What are the actual differences to slightfoot/flutter_sticky_headers in the implementation? Which implementation is better?
Would be nice to get a few questions answered that help picking one of the two libraries :)
The text was updated successfully, but these errors were encountered: