-
Notifications
You must be signed in to change notification settings - Fork 26.9k
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
Remove duplicated key in _IconButtonM3 #105577
Remove duplicated key in _IconButtonM3 #105577
Conversation
34e811c
to
9b1a0bc
Compare
9b1a0bc
to
aa17460
Compare
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 contribution. This looks reasonable to me. I don't think we are using the key on the internal _IconButtonM3, so I don't think this will cause in issues.
LGTM
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. Thanks a lot for the fix!
This PR removes the key on _IconButtonM3 as it currently duplicates the parent key. As stated in that issue I'm under the impression that keys should not be reused, since this is not the first time I see this in the flutter repo maybe they are ? In any case, I just removed the duplication in the child widget.
Fixes #105554
Pre-launch Checklist
///
).If you need help, consider asking for advice on the #hackers-new channel on Discord.