-
Notifications
You must be signed in to change notification settings - Fork 27.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
[DropdownButton]: Fix alignment
parameter doesn't work for hint
when isExpanded: true
#102752
[DropdownButton]: Fix alignment
parameter doesn't work for hint
when isExpanded: true
#102752
Conversation
hint: const Text(hintText)), | ||
); | ||
expect(tester.getTopLeft(find.text(hintText)).dx, 712.0); | ||
}); |
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. Just double check, do we need tests to cover AlightmentDirectional.topStart, AlightmentDirectional.topEnd, AlightmentDirectional.bottomStart, AlightmentDirectional.buttomEnd and etc.?
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.
Hey, thanks for looking into this. It makes sense it is certainly possible to align at corners when setting itemHeight
I've updated the test and added comments to make it easier to follow the large test.
3bd17cb
to
d262f16
Compare
…en `isExpanded: true`
d262f16
to
7ac2342
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.
…hint` when `isExpanded: true` (flutter/flutter#102752)
…hint` when `isExpanded: true` (flutter/flutter#102752)
alignment
parameter doesn't work for hint
when isExpanded: true
alignment
parameter doesn't work for hint
when isExpanded: true
fixes #102751
Pre-launch Checklist
///
).If you need help, consider asking for advice on the #hackers-new channel on Discord.