-
Notifications
You must be signed in to change notification settings - Fork 1
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
Is there any similar feature to SliverAppBar's snap? #14
Comments
Hey @giva9712, it seems I can play the video neither on a desktop nor mobile. Could you please check you uploaded the correct thing? |
I uploaded it into free video hosting but it will expire in 2 days. |
I see now. Hmm, I think something similar should be possible, since you can build anything based on values provided through the builder. Maybe you could also add floating to that, so it works even when scrolling down a lot. Try a lot of different options in here https://netglade.github.io/sliver_app_bar_builder |
I like SliverAppBarBuilder than SliverAppBar because it saves more boilerplate for animating. But I need to collapse the SliverAppBarBuilder height to the given barHeight if the parent SingleChildScrollView scroll position is greater than some X value. If less than X, expand the SliverBarBuilder to the given contentHeight. Put simply, any similar feature like SliverAppBar's |
Not at the moment. :/ I did some research and I have found this which has some gifs showing the difference. https://api.flutter.dev/flutter/material/SliverAppBar/snap.html Wince we use Would you want to try and create a pull request for that? (I know for sure I will not have a time for trying to create that this year for sure.) |
I am trying to build the AppBar like this. Any possible way to do that?
output.mp4
The text was updated successfully, but these errors were encountered: