GlobalMaterialLocalizations.delegate Does not Support Chinese

Viewed 106

It seems GlobalMaterialLocalizations.delegate does not support the zh Locale (Chinese).

Is it really necessary adding GlobalCupertinoLocalizations.delegate before other locales works?

I get this error each time I run the app without adding the GlobalCupertinoLocalizations delegate:

enter image description here

Could this be a bug in Flutter? because according to the official Docs HERE the GlobalMaterialLocalizations.delegate does have support for zh - Chinese

The full source code is available HERE

0 Answers
Related