随笔分类 - 移动端 / flutter
摘要:flutter ASE加密 与ios端NSData使用ASE加密后互相兼容 用ios端加密后用flutter端解密
阅读全文
摘要:在项目开发中需要添加webview,加载内置的html文件,代码写完后ios运行没有问题,运行安卓时报错,错误提示如下: FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':a
阅读全文
摘要:在开发中我们需要去计算文本的高度,从来去设置控件的高度,在flutter中我们可以使用TextPainter来计算文本高度 //获取文字高度 text:文字内容 fontSize:字体大小 fontWeight:字重 height:行高 maxWidth:最大宽度,maxLines:最大行数 sta
阅读全文
摘要:Flutter 项目运行到ios模拟器报错: Error (Xcode): SDK does not contain 'libarclite' at the path '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefaul
阅读全文
摘要:flutter开发中遇到需求需要Row嵌套TextField,运行后发现代码报错: child: Row( children: [ TextField( decoration: InputDecoration( hintText: "名称" ), ) ], ), 错误码太多了,这里就不贴出来了。 c
阅读全文