Skip to content

Added isExpanded field to ExpansionTile widget - #93849

Closed
happy-cat-coder wants to merge 2 commits into
flutter:masterfrom
happy-cat-coder:master
Closed

happy-cat-coder wants to merge 2 commits into
flutter:masterfrom
happy-cat-coder:master

Conversation

@happy-cat-coder

@happy-cat-coder happy-cat-coder commented Nov 18, 2021 •

Copy link
Copy Markdown

This MR make the ExpansionTile widget able to expand and collapse programmatically by adding the public field isExpanded and listen for it's updates.

This MR is a fix for #60387 .

Pre-launch Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I read the Tree Hygiene wiki page, which explains my responsibilities.
  • I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
  • I signed the CLA.
  • I listed at least one issue that this PR fixes in the description above.
  • I updated/added relevant documentation (doc comments with ///).
  • I added new tests to check the change I am making, or this PR is test-exempt.
  • All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@flutter-dashboard

Copy link
Copy Markdown

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 on the #hackers channel in Chat.

If you are not sure if you need tests, consider this rule of thumb: the purpose of a test is to make sure someone doesn't accidentally revert the fix. Ask yourself, is there anything in your PR that you feel it is important we not accidentally revert back to how it was before your fix?

Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing.

@flutter-dashboard flutter-dashboard Bot added p: material_ui material_ui package in flutter/packages framework flutter/packages/flutter repository. See also f: labels. labels Nov 18, 2021
@google-cla google-cla Bot added the cla: no label Nov 18, 2021
@Faiizii

Faiizii commented Dec 1, 2021

Copy link
Copy Markdown

any update on it?

@happy-cat-coder
happy-cat-coder marked this pull request as ready for review December 14, 2021 13:46
@goderbauer

Copy link
Copy Markdown
Member

Unfortunately, an API like that doesn't work as explained in the comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

framework flutter/packages/flutter repository. See also f: labels. p: material_ui material_ui package in flutter/packages

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants