Add width constraints for FlexibleSpaceBar.title in its expanded state, so that overflow of long titles can be handled#51335
Conversation
|
It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact Hixie. Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing. |
a4d256e to
efb2e18
Compare
|
You can add a code snippet to the PR description to clarify what issue is being solved. |
|
We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google. ℹ️ Googlers: Go here for more info. |
07090b8 to
a05c7a1
Compare
|
CLAs look good, thanks! ℹ️ Googlers: Go here for more info. |
…e, so that overflow of long titles can be handled
a05c7a1 to
9a9e6aa
Compare
9a9e6aa to
ba83af1
Compare
Add width constraints for FlexibleSpaceBar.title in its expanded state, so that overflow of long titles can be handled.
See this dartpad for reproducible example of the issue.
Description
Add width constraints for FlexibleSpaceBar.title in its expanded state, so that overflow of long titles can be handled.
Before:


After:
Example with larger text scale factor:

Related Issues
Closes #14227
Tests
I added the following tests:
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes (
[x]). This will ensure a smooth and quick review process.///).flutter analyze --flutter-repo) does not report any problems on my PR.Breaking Change
Did any tests fail when you ran them? Please read Handling breaking changes.