Skip to content
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

Fix critical localization bug #34

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

glebosotov
Copy link

I have faced an issue when using Google's flutter_localizations package. When using StyledToast widget, the localizaiton delegates get overriden and access to my custom localizations gets lost. Moreover, I have found that locale params were unused and thus redundant.

Introduced fixes:

  • Remove locale, fixing the bug
  • Update how StyledToast is built into the MaterialApp
  • Update android example, so that it runs
  • Update README to reflect the changes

P.S. I have decided to not use the package in my project, however I want to save people's time debugging this issue.

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.

1 participant