delegates constant
You can get the default LocalizationsDelegate
in Material, Cupertino and Widgets.
This can be used by passing it to MaterialApp.localizationsDelegates.
All languages are supported, but output is in English.
デフォルトのLocalizationsDelegate
をMaterial、Cupertino、Widgetsで取得することができます。
これをMaterialApp.localizationsDelegatesに渡すことで利用することができます。
すべての言語に対応してますが、出力は英語になります。
Implementation
static const List<LocalizationsDelegate<dynamic>> delegates = [
AppMaterialLocalizationsDelegate(),
AppCupertinoLocalizationsDelegate(),
AppWidgetsLocalizationsDelegate(),
];