Make expansion panel optionally toggle its state by tapping its header.#29390
Conversation
0aba484 to
1d10abe
Compare
1d10abe to
cf3a205
Compare
shihaohong
left a comment
There was a problem hiding this comment.
Overall, this is a good setup. I'd pay special attention to the ink splash effects and making sure you have a defined behavior in your mind before jumping in the code, since that part can be trickier.
|
cc/ @HansMuller |
cf3a205 to
4597d17
Compare
Waiting on response for discussion, neither explicitly approving or requesting change
2b13aa4 to
833fb5d
Compare
shihaohong
left a comment
There was a problem hiding this comment.
I have a few more suggestions regarding syntax and adding a few more tests to be more exhaustive.
|
Also, don't forget to run the tests to see if they work and analyze the code, it seems you have some failed pre-submit tests |
2eac013 to
71bd8bd
Compare
shihaohong
left a comment
There was a problem hiding this comment.
Other than the test description changes, LGTM
… tapping its header.
71bd8bd to
d69197f
Compare
|
Thank you for your work with this @esarbanis! |
|
@shihaohong thank you for the time spent in reviewing! |
Description
ExpansionPanels can toggle their expand/collapse state only by tapping on theExpandIcon. This change introduces an optional parameter to theExpansionPanelthat can make it toggle its state by tapping anywhere in its header widget.Related Issues
Fixes #5845
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
Does your PR require Flutter developers to manually update their apps to accommodate your change?