flutter

不再关注网络安全

解决Unhandled Exception: DatabaseException(error database_closed)

解决Unhandled Exception: DatabaseException(error database_closed)

问题场景描述 使用Flutter的Sqlite执行多条SQL(execute multiple SQL)>10,这中间会进行原库与SQL比对,符合条件会进行关闭db.close,再new一个实例重新db初始化等,操作中报错如下: Unhandled Exception...

解决Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent

解决Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent

Android 12 对Android 12的兼容适配报错: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent. Strongly consider ...

解决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应用图标自适应方案:标准规范自动圆角不变形》,结合着看也行。 让我们承认这一点ーー管理应用程序图标是一项重复的任务。他们必须生成的多分辨率和手动放置在几个文件...