分类 Flutter 下的文章

统一回复下:这个问题没人跟进也没解决
事实证明想在不同厂商之间搞跨平台坑太多了,除非是openGL(ES)这种已是事实标准且厂商必须无条件支持的稳定的渲染方式,尤其是Flutter这种谷歌在推的。
之前在做的项目上线后因为不可解决的问题已经重新改回原生开发了,相信我,不要用Flutter,不要用Flutter
以下是原文

- 阅读剩余部分 -

创建工程不能用驼峰命名


flutter create ofFile
"ofFile" is not a valid Dart package name.


From the [Pubspec format
description](https://www.dartlang.org/tools/pub/pubspec.html):

**DO** use `lowercase_with_underscores` for package names.

Package names should be all lowercase, with underscores to separate words,
`just_like_this`.  Use only basic Latin letters and Arabic digits: [a-z0-9_].
Also, make sure the name is a valid Dart identifier -- that it doesn't start
with digits and isn't a reserved word.

- 阅读剩余部分 -