-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Expose ComputePlatformResolvedLocale #58482
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
Conversation
|
Will hold off on this until the TODOs introduced in flutter/engine#18645 are resolved to ensure the feature produces the correct values. |
|
This method is a direct call to dart:ui's Window.computePlatformResolvedLocale and is tested at the engine level of each platform. |
|
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. Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing. |
justinmc
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.
LGTM
CC @shihaohong in case this is relevant.
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.
| /// it is recommended to cache the results of this method if the value if it | |
| /// is used multiple times. | |
| /// it is recommended to cache the results of this method if the value is | |
| /// used multiple times. |
|
This pull request is not suitable for automatic merging in its current state.
|
Exposes
ComputePlatformResolvedLocalefor #47087Relevant code added in flutter/engine#18645 and flutter/engine#19266