Skip to content

Optimized the i18n model lookup. #209

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

Closed
wants to merge 21 commits into from

Conversation

awhitford
Copy link
Contributor

  • Revised _i18nModel to use LocaleType as a key instead of String, and then revised i18nObjInLocale to do a simple lookup instead of a costly switch statement.
  • Added i18nObjInLocaleLookup convenience method.
  • Note that some code reformatted because Format on Save enabled.

Lykeosovandara and others added 19 commits April 7, 2020 17:06
if the selection of the right list is changed, the left and middle list is now refreshing the UI state.
static ThemeData of BuildContext doesn't contain named parameter shadowThemeOnly:tre. From the latest version of Flutter we gets the error:
Error: No named parameter with the name 'shadowThemeOnly'.
    ThemeData inheritTheme = Theme.of(context, shadowThemeOnly: true);
Fix spelling mistakes on Catalan language
add suport for khmer localization
Enabling UI refresh on change the right list
Use the localized am and pm strings in Time12hPickerModel
Remove parameter `shadowThemeOnly` from ThemeData
Realank#197 shadowThemeOnly is removed on flutter master
Added super(key) to _DatePickerComponent.
Copy link
Owner

@Realank Realank left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for your PR, I merged some locales in this file, could you please rebase to latest code, and support these locales?
sorry for late response

@awhitford
Copy link
Contributor Author

I replaced this PR with PR #214 to capture the latest master changes.

@awhitford awhitford closed this Jan 16, 2021
@awhitford awhitford deleted the i18n_model branch January 22, 2021 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants