我现在在我的项目中使用flutter gallary,这是包参考: import 'package:flutter_gen/gen_l10n/gallery_localizations.dart';但它显示: Target of URI doesn't exist: 'package:flutter_gen/gen_l10n/gallery_loc
当我尝试向flutter应用程序添加语言支持时出现此错误:
Target of URI doesn't exist: 'package:flutter_gen/gen_l10n/app_localizations.dartTry creating the file referenced by the URI, or Try using a URI for a file that does exist.我使用的是flutter_lo
按照official internationalization tutorial的提示,当我尝试使用从ARB文件自动生成的翻译引擎(AppLocalizations.of(context).helloWrold)时,我得到了The getter was called on null: import 'package:flutter/material.dart';
import 'package:flutter_gen/gen_l10n