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.
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.