关于 flutter本地化问题 The getter 'pasteButtonLabel' was called on null

Posted nightfallsad

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了关于 flutter本地化问题 The getter 'pasteButtonLabel' was called on null相关的知识,希望对你有一定的参考价值。

参考https://blog.csdn.net/Nathan1987_/article/details/92788141

默认flutter里的粘贴等提示是英文的需要做本地化适配

技术图片

android参考https://www.jianshu.com/p/e8e0f7b7eb14

 

 

ios需要改plist

技术图片

 

 

 

 报错

技术图片

llocalizations下面没有cupertino的zh文件,可以写代码实现,参考https://blog.csdn.net/Nathan1987_/article/details/92788141

技术图片

 

以上是关于关于 flutter本地化问题 The getter 'pasteButtonLabel' was called on null的主要内容,如果未能解决你的问题,请参考以下文章

关于 git 本地创建 SSH Key 遇到的一点问题(①file to save the key & ②the authenticity of host...)

Flutter + Android 混合开发

在 Flutter 中本地缓存 base64 图像

Flutter 块架构设计

从url下载pdf,在flutter中保存到android中的手机本地存储

关于本地用svn up的时候报cannot update svn folder: "unversioned directory of the same name already exists