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

Flickering after localizationOverride (PageView) #208

Description

@mauriceraguseinit

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions