-
Notifications
You must be signed in to change notification settings - Fork 66
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
SliverFloatingHeader #11
Comments
I found a widget that acts like you described: https://gist.github.com/tomaszpolanski/cf0edb7961d2304c2f293da9971cd4c9 |
@obiwanzenobi thanks for linking that gist. |
Was about to open an enhancement request till I saw this. Is there any such functionality like this within the I have a I tried using the gist provided but its fairly outdated and didn't seem to work. |
I actually use this to achieve a certain behaviour. Regarding your questions I think it already behaves like I would expect it. Regarding your questions
|
I tried the example in the gist of tomaszpolanski and for me it actually works well. Here the new widget that I named SliverFlexibleHeader: https://gist.github.com/marcoredz/b2a37ff2cd11f81fa4ff7fb004fbb0ab @Kavantix any opinions about this? maybe it could be a nice feature to add to your package |
@marcoredz I took a quick look at your implementation and it looks like a good starting point. |
@Kavantix what do you suggest between: taking the existing SliverPinnedHeader and editing it, or creating a new widget? |
I would create a new one for this |
It doesn't work when it's put inside |
A sliver that acts like a
SliverToBoxAdapter
when the user scrolls towards the leading edge but acts like a pinned header when the user scrolls backRequirements:
Questions:
The text was updated successfully, but these errors were encountered: