-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Add CupertinoPicker interactive example
#93622
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
Add CupertinoPicker interactive example
#93622
Conversation
|
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. |
|
@gspencergoog |
gspencergoog
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.
As with the other PRs, it would be good to add comments to the example code itself.
|
@gspencergoog Screen.Recording.2022-02-03.at.01.15.24.mov |
gspencergoog
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.
remove trailing space test Update example fixes Make example little colorful Rename class Kick tests
|
Hey @gspencergoog |
|
Oooh, Yes, @TahaTesser I forgot that the web font that DartPad provides doesn't have Emojis. I guess they'll just have to be removed. |
|
It also looks like there's a bug in the picker that doesn't allow clicking on the item itself to set it, only clicking away from the chooser selects the item. This might only happen on web. |
If I understand correctly, you're trying to tap on an item, expect to scroll to it and set it as the picked item. This is actually a |
|
Huh, seems counterintuitive, but if that's intended behavior, then OK. |

This adds an official
CupertinoPickerexample, this makes it much easier to try Cupertino picker.Preview
Screen.Recording.2021-11-14.at.20.06.54.mov
Related #72926
Pre-launch Checklist
///).If you need help, consider asking for advice on the #hackers-new channel on Discord.