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.
I have faced an issue when using Google's
flutter_localizations
package. When usingStyledToast
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:
StyledToast
is built into theMaterialApp
P.S. I have decided to not use the package in my project, however I want to save people's time debugging this issue.