This project uses some adaptive widgets like AdaptiveTextSelectionToolbar
which require the following delegates:
You don't need to include those since they are defined by default
but if you are using a Custom app or you are overriding the localizationsDelegates
in the App widget
then please make sure it includes those:
localizationsDelegates: const [
DefaultCupertinoLocalizations.delegate,
DefaultMaterialLocalizations.delegate,
DefaultWidgetsLocalizations.delegate,
],
You might need more depending on your use case, for example, if you are using custom localizations for your app, using a custom app widget like FluentApp
from FluentUI
which will also need
localizationsDelegates: const [
// Required localizations delegates ...
FluentLocalizations.delegate,
AppLocalizations.delegate,
],
Note: In the latest versions of FluentApp
you no longer need to add the localizationsDelegates
but this is just an example, for more info
There are additional notes on the Localizations page
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。