【发布时间】:2020-03-06 22:38:15
【问题描述】:
如何在 Flutter google_map_location_picker 插件中添加对“ru”和“kz”语言环境的支持?我试过这个
MaterialApp(
localizationsDelegates: [
// ... app-specific localization delegate[s] here
location_picker.S.delegate,
GlobalMaterialLocalizations.delegate,
GlobalWidgetsLocalizations.delegate,
GlobalCupertinoLocalizations.delegate,
],
locale: const Locale('ru'),
supportedLocales: [
const Locale('ru'),
const Locale('en'),
const Locale('kz')
]
但它不起作用。
【问题讨论】:
标签: google-maps flutter localization google-maps-android-api-2 flutter-dependencies