Skip to content

stretchModes property #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

Open
hetthummar opened this issue Aug 10, 2022 · 1 comment
Open

stretchModes property #1

hetthummar opened this issue Aug 10, 2022 · 1 comment

Comments

@hetthummar
Copy link

Flutter added stretchModes properties in FlexibleSpaceBar which allows us to zoom or blur the image when user tries to scroll below minimum limit.

flexibleSpace: FlexibleSpaceBar(
    flexibleSpace: BackgroundFlexibleSpaceBar(
        stretchModes: const [
           StretchMode.zoomBackground,
           StretchMode.blurBackground,
           StretchMode.fadeTitle,
        ],
)

I think it is nice to have this in this library.

@LeonColt
Copy link
Owner

Hi, @hetthummar
It is a great idea, i am a bit busy right now, feel free if you want pull request.
I will update this library soon if there is no pull request

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

No branches or pull requests

2 participants