Skip to content
This repository has been archived by the owner on Jul 20, 2022. It is now read-only.

Flickering after localizationOverride (PageView) #208

Open
mauriceraguseinit opened this issue Jun 21, 2022 · 0 comments
Open

Flickering after localizationOverride (PageView) #208

mauriceraguseinit opened this issue Jun 21, 2022 · 0 comments

Comments

@mauriceraguseinit
Copy link

In some cases the delegates produces some ugly side effects.

In my app we have a PageView and each page comes from another flutter module. To show the String resources from the correct module a localization override is needed in the page. While scrolling the page in the PageView the page is flickering in the moment the next page is arriving the screen.

Workaround:
To fix that problem we removed the CountryLocalizations.delegate from the MaterialApp widget and wrap the CountryCodePicker into a Localizations.override widget with a Builder as child.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant