flutter

不再关注网络安全

解决each Hero must have a unique non-null tag.

解决each Hero must have a unique non-null tag.

完整错误如: Within each subtree for which heroes are to be animated (i.e. a PageRoute subtree), each Hero must have a unique non-null tag. 或者 I/flutter (8790): Another exception was t...

解决HTTP host https://maven.google.com/ is not reachable

解决HTTP host https://maven.google.com/ is not reachable

更新flutter之后运行flutter doctor 出现错误: [!] HTTP Host Availability ✗ HTTP host https://maven.google.com/ is not reachable. Reason: An error occurred while checking the HTTP host: Opera...

Flutter 逆向工程框架

Flutter 逆向工程框架

reFlutter reFlutter是一款功能强大的逆向工程分析工具,该工具主要针对的是Flutter应用程序。该框架使用了已编译且重新封装的Flutter库来帮助广大研究人员对Flutter应用程序进行逆向工程分析。 除此之外...

Flutter/Dart循环 for、 while 、do..while 、break、continue

Flutter/Dart循环 for、 while 、do..while 、break、continue

++、-- 表示自增、自减,运算规则和java类似在赋值运算里:如果++、--写在前面,表示先运算,后赋值如果++、--写在后面,表示先赋值,后运算while 、do..while区别:do..while无论条件是否成立,首先执行一次bre...

Flutter判断区分Debug/Release/Profile模式

 framework层已经有判断编译模式的代码了,我们直接拿来用就行. 在packages/flutter/lib/src/foundation/constants.dart中有:复制成功dart ...

解决Could not find ‘CFPropertyList’ (>= 2.3.3, < 4.0) among 92 total gem(s) (Gem::MissingSpecError)

在pod install时报错 Could not find 'CFPropertyList' (>= 2.3.3, < 4.0) among 92 total gem(s) (Gem::MissingSpe...

解决could not find included file ‘Pods/Target Support Files/Pods-Runner/Pods-Runner

当运行IOS run的时候发生了编译的报错: could not find included file 'Pods/Target Support Files/Pods-Runner/Pods-Runne 解决办法如下 根目录...

flutter应用程序图标制作简单方法

flutter应用程序图标制作简单方法

其实之前已经有写过一篇文章《Flutter应用图标自适应方案:标准规范自动圆角不变形》,结合着看也行。 让我们承认这一点ーー管理应用程序图标是一项重复的任务。他们必须生成的多分辨率和手动放置在几个文件...

Flutter git忽略.gitignore配置

Flutter git忽略.gitignore配置

基础模板直接看官方的: flutter官方.gitignore文件 # Miscellaneous *.class *.lock *.log *.pyc *.swp .DS_Store .atom/ .buildlog/ .history .svn/ # IntelliJ related *.iml *.ipr *.iws .idea/ # V...

Error when reading ‘pub’: No such file or directory解决

Error when reading ‘pub’: No such file or directory解决

已经安装dart,并且指定了bin位置,但执行命令依然报错: ➜~ (master) ✗ dart pub outdated Error: Error when reading 'pub': No such file or directory 提示错误没说dart问题,而是说pub,那就是pub没...