Skip to content

Conversation

@itsjatinnagar
Copy link
Contributor

@itsjatinnagar itsjatinnagar commented Sep 9, 2024

Added a property in the CheckboxListTile to scale the underlying Checkbox using Transform.scale.

Fixes: #81334

Pre-launch Checklist

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

@flutter-dashboard
Copy link

It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption, contact "@test-exemption-reviewer" in the #hackers channel in Discord (don't just cc them here, they won't see it!).

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. The test exemption team is a small volunteer group, so all reviewers should feel empowered to ask for tests, without delegating that responsibility entirely to the test exemption group.

@github-actions github-actions bot added framework flutter/packages/flutter repository. See also f: labels. f: material design flutter/packages/flutter/material repository. labels Sep 9, 2024
@MitchellGoodwin
Copy link
Contributor

Copying comment from the Discord on the test:

"There's a test file for the CheckBoxListTile in packages/flutter/test/material. I imagine you can just find the checkbox widget and get it's corners then compare them against an expected value, but if that doesn't work, you can look up the tests for Transform.scale and see if there's a helpful one there to get you started."

@itsjatinnagar
Copy link
Contributor Author

Hi @MitchellGoodwin
I've added the tests. Please go through them in 1af3872

Thanks

Copy link
Contributor

@MitchellGoodwin MitchellGoodwin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with one nit! Thank you very much for putting this together. Once then nit is addressed I'll see about getting a secondary reviewer, than this can be merged.

@victorsanni
Copy link
Contributor

@itsjatinnagar the linked issue also mentions scaling the underlying Radio in a RadioListTile. Is this planned in a subsequent PR?

Copy link
Contributor

@justinmc justinmc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM but +1 to @victorsanni's comment about the docs.

@itsjatinnagar
Copy link
Contributor Author

@itsjatinnagar the linked issue also mentions scaling the underlying Radio in a RadioListTile. Is this planned in a subsequent PR?

Yes, I am going to raise a new PR for Radio.

@victorsanni victorsanni added the autosubmit Merge PR when tree becomes green via auto submit App label Oct 6, 2024
@auto-submit auto-submit bot merged commit bae7971 into flutter:master Oct 6, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Oct 6, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Oct 6, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Oct 8, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Oct 8, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Oct 8, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Oct 9, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Oct 9, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Oct 9, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Oct 9, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Oct 9, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Dec 11, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autosubmit Merge PR when tree becomes green via auto submit App f: material design flutter/packages/flutter/material repository. framework flutter/packages/flutter repository. See also f: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Checkbox/Radio size

4 participants