Best Work Around For Foreign Scripts In Flutter
Would it not be nice if one has support for foreign scripts such as Cyrillic in Flutter? Well, there is a workaround to allow foreign scripts like Cyrillic to be displayed in Flutter.
Someone in the Flutter Community forked the GoogleFonts plugin and supplied the feature that has been requested numerous times, the ability to display foreign language scripts:
In this article, I show you the trick to get it to display more than one foreign language in a flutter app.
How Do We Detect What Language The User Has Set
We start this work around with detecting the language locale setting the user has set on their device:
The two languages I am using as an example is English and Russian, and so the two language…