-
Notifications
You must be signed in to change notification settings - Fork 28.2k
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
feat(CupertinoDatePicker): add a two points time seperator column #163417
base: master
Are you sure you want to change the base?
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.
Thanks for putting this together! I left a couple of comments.
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.
Thank you for the updates. I left some comments, which I think addresses some of the failing checks.
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.
Thank you for the update. Just two things and then I think this is ready.
@koukibadr I think this PR picked up some infra issues we were having last week. A lot of the failed checks look unrelated. Could you rebase this PR? It's not letting me do so through Github. |
Okay I'll rebase my branch with the latest updates |
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! Thank you for the PR. Next this will need a secondary reviewer before it can merge. I'll ask around for one.
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.
Two things we should probably fix, everything else are just ideas/suggestions.
- Misspelling of "separator"
- I think we should add a widget test that shows that the separator appears in the widget tree.
@justinmc thanks for review, I'll update the implementation to resolve your review comments |
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 with nits, thanks for the changes!
This pull request adds a flag attribute to cupertino date picker to show/hide the two points seperator ":" between minutes and hours, this feature add more customization to the cupertino date picker widget.
This new flag is by default set to false and it's an optional flag, the default cupertino date picker behavior stays the same.
CupertinoDatePIcker before:

CupertinoDatePicker After

List which issues are fixed by this PR. You must list at least one issue. An issue is not required if the PR fixes something trivial like a typo.
Here's the issue in question for more details about the proposal and the use cases:
Issue#163416
If you had to change anything in the flutter/tests repo, include a link to the migration guide as per the breaking change policy.
Pre-launch Checklist
///
).If you need help, consider asking for advice on the #hackers-new channel on Discord.