-
Notifications
You must be signed in to change notification settings - Fork 29.6k
fix #178045: update expansible documentation for default maintainSta… #178203
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
fix #178045: update expansible documentation for default maintainSta… #178203
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review
This pull request correctly updates the documentation for the maintainState property in the Expansible widget. The documentation previously stated that the default value was false, while the code's default is true. This change aligns the documentation with the implementation, which is a good and necessary fix.
victorsanni
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the change. Sorry I missed this when writing the API docs.
hannah-hyj
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…ainSta… (flutter#178203) This PR updates the `Expansible` `maintainState` documentation in the code, current maintainState default value is set to true while the documentation shows '`/// Defaults to false.` **Update** - the PR updates the documentation to reflect the maintainState default value without updating the maintainState value which require more investigation and test Fixes [issues/178045](flutter#178045) ## Pre-launch Checklist - [x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs. - [x] I read the [Tree Hygiene] wiki page, which explains my responsibilities. - [x] I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement]. - [x] I signed the [CLA]. - [x] I listed at least one issue that this PR fixes in the description above. - [x] I updated/added relevant documentation (doc comments with `///`). - [x] I added new tests to check the change I am making, or this PR is [test-exempt]. - [x] I followed the [breaking change policy] and added [Data Driven Fixes] where supported. - [x] All existing and new tests are passing.
This PR updates the
ExpansiblemaintainStatedocumentation in the code, current maintainState default value is set to true while the documentation shows '/// Defaults to false.Update
Fixes issues/178045
Pre-launch Checklist
///).