Best practice for accessing build context from multiple classes for app localization in Flutter?

前端 未结 0 526
无人及你
无人及你 2020-12-18 17:45

So, I have got a class that needs to generate some words and sentences using the localized app resources. I access them using AppLocalizations.of(context).helloWorld

相关标签:
回答
  • 消灭零回复
提交回复
热议问题