Skip to content
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

SliverStickyHeaderBuilder: add isPinned parameter #4

Closed
dsparber opened this issue Jun 27, 2018 · 4 comments
Closed

SliverStickyHeaderBuilder: add isPinned parameter #4

dsparber opened this issue Jun 27, 2018 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@dsparber
Copy link

Is it possible to add an additional paramater to the builder function? I.e. to indicate if the header is currently fixed at the top or positioned normally within the scroll view:

For this example isPinned would be true for Header#10 and false for any other visible header.

grafik

@letsar letsar self-assigned this Jun 29, 2018
@letsar letsar added the enhancement New feature or request label Jun 29, 2018
@letsar
Copy link
Owner

letsar commented Jun 29, 2018

Hi @DanielSparber.
I will work on this this week-end. I'll keep you posted.

@letsar
Copy link
Owner

letsar commented Jun 30, 2018

I've got something working in the branch: https://github.com/letsar/flutter_sticky_header/tree/feature/pinned-state.

sticky_header_pinned

If this what you had in mind I will publish it.

@dsparber
Copy link
Author

Yes, it's exactly what I had in mind. Thanks a lot!

@letsar
Copy link
Owner

letsar commented Jun 30, 2018

Merged and published, have fun!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants