Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Expander header's height determination #524

Closed
wants to merge 24 commits into from

Conversation

sohaibbg
Copy link

@sohaibbg sohaibbg commented Sep 10, 2022

The height of Expander's header is now determined based on the height of its children.

Pre-launch Checklist

  • I have updated CHANGELOG.md with my changes
  • I have run "dart format ." on the project
  • I have added/updated relevant documentation

@sohaibbg
Copy link
Author

This was achieved by encasing the content widget in a Flexible widget so the Column can size the header as per its children's requirements.

@bdlukaa bdlukaa linked an issue Sep 10, 2022 that may be closed by this pull request
Co-authored-by: Bruno D'Luka <45696119+bdlukaa@users.noreply.github.com>
@bdlukaa
Copy link
Owner

bdlukaa commented Sep 12, 2022

Expander padding is off

example 12_09_2022 19_27_38

@sohaibbg
Copy link
Author

Expander padding is off

example 12_09_2022 19_27_38

In latest commit, padding has been added to Container widget responsible for header.

@sohaibbg sohaibbg requested a review from bdlukaa September 13, 2022 18:47
@sohaibbg sohaibbg requested a review from bdlukaa September 22, 2022 06:24
@bdlukaa
Copy link
Owner

bdlukaa commented Sep 22, 2022

The trailing is being constrained down, for some reason

image

@bdlukaa bdlukaa closed this Mar 31, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Expander doesn't size automatically🐛
2 participants