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

FlexibleSpaceBar collapse or expanded event #18567

Closed
ofthesea-io opened this issue Jun 18, 2018 · 9 comments
Closed

FlexibleSpaceBar collapse or expanded event #18567

ofthesea-io opened this issue Jun 18, 2018 · 9 comments
Labels
f: material design flutter/packages/flutter/material repository. framework flutter/packages/flutter repository. See also f: labels. P2 Important issues not at the top of the work list

Comments

@ofthesea-io
Copy link

I have looked through the documentation for the SliverAppBar / FlexibleSpaceBar widgets for a callback, a state or event to hook into, when the FlexibleSpaceBar is collapse or expanded fully. I haven't been able to find anything.

What I'm looking for is the ability to change the title field when in a different state.

Am I looking in the right area of the documentation?

https://stackoverflow.com/questions/50909791/flutter-change-text-when-flexiblespacebar-is-collapsed

@zoechi zoechi added the framework flutter/packages/flutter repository. See also f: labels. label Jun 18, 2018
@zoechi
Copy link
Contributor

zoechi commented Jun 18, 2018

@HansMuller

@zoechi zoechi added the f: material design flutter/packages/flutter/material repository. label Jun 18, 2018
@gunhansancar
Copy link

I think this SliverAppBar component needs more love.

For the title widget it says it is the primary content when expanded. But if I add paddings etc. and when it collapses it still uses the same widgets and it goes out of the screen.

And also for the long titles, the text goes out of screen and not wraps properly.
I'm not sure if anyone is on this widget but it needs more love.

@buddhika-ranasinghe
Copy link

Does anyone has a workaround suggestion for this ?

@HectorV12
Copy link

Also different background colors for expanded and collapsed states, maybe?

@hasanzia1993
Copy link

Anything on it yet? Still need something to tell if the flexibleSpaceBar is collapsed or expanded

@kf6gpe kf6gpe added the P2 Important issues not at the top of the work list label May 29, 2020
@kherel
Copy link

kherel commented Aug 14, 2020

Since the flexibleSpace parameter of the SliverAppBar could take any widget.
Create your own FlexibleSpaceBar widget.

https://stackoverflow.com/a/63407889/5541523

@Hixie Hixie removed this from the None. milestone Aug 17, 2020
@pedromassangocode
Copy link

Hi @visualsanity
Just to make things clear, are you proposing a way to listen for expand/collapse changes?
Thank you

@pedromassangocode pedromassangocode added the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Sep 9, 2020
@darshankawar
Copy link
Member

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.

Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.

@darshankawar darshankawar removed the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Sep 30, 2020
@github-actions
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
f: material design flutter/packages/flutter/material repository. framework flutter/packages/flutter repository. See also f: labels. P2 Important issues not at the top of the work list
Projects
None yet
Development

No branches or pull requests