合集-flutter
摘要:flutter开发中遇到需求需要Row嵌套TextField,运行后发现代码报错: child: Row( children: [ TextField( decoration: InputDecoration( hintText: "名称" ), ) ], ), 错误码太多了,这里就不贴出来了。 c
阅读全文
摘要:Flutter 项目运行到ios模拟器报错: Error (Xcode): SDK does not contain 'libarclite' at the path '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefaul
阅读全文
摘要:在开发中我们需要去计算文本的高度,从来去设置控件的高度,在flutter中我们可以使用TextPainter来计算文本高度 //获取文字高度 text:文字内容 fontSize:字体大小 fontWeight:字重 height:行高 maxWidth:最大宽度,maxLines:最大行数 sta
阅读全文
摘要:在项目开发中需要添加webview,加载内置的html文件,代码写完后ios运行没有问题,运行安卓时报错,错误提示如下: FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':a
阅读全文
摘要:flutter ASE加密 与ios端NSData使用ASE加密后互相兼容 用ios端加密后用flutter端解密
阅读全文
摘要:flutter插件开发 flutter原生插件开发 (Plugin packages)
阅读全文
摘要:flutter Warning: CocoaPods is installed but broken. Skipping pod install. You appear to have CocoaPods ins 确保你已经安装了 CocoaPods 并可以正常使用: 1.flutter clean
阅读全文
摘要:provider是flutter官方推荐的状态管理插件,是基于InheritedWidget实现的。 下面我们来讲一个provider的使用方法。 1.在pubspec.yaml文件中添加 provider: ^6.1.2 开发文档:https://pub-web.flutter-io.cn/pac
阅读全文