上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 46 下一页
摘要: 遇到一需求,一般都是点击图后获取其中一组数据就可以了,不需要详细到获取点击了当前X轴对应的其中的哪个, 今天的需求是 Echarts点击多组数据多个柱子中的一个柱子,获取当前点击的是第几组数据,并获取点击的是当前组别第几根柱子,以及对应横坐标 下面是解决方案 先上图 再上代码 option = { 阅读全文
posted @ 2021-09-24 23:01 糖~豆豆 阅读(1681) 评论(0) 推荐(0)
摘要: flutter2.x开发遇到的问题 Bad state: Insecure HTTP is not allowed by platform: 翻译过来就是:错误状态:平台不允许不安全的HTTP: 产生原因:IOS 和 Android 9.0 对网络请求做了一些限制,不能直接访问 Http 域名的地址 阅读全文
posted @ 2021-09-17 01:54 糖~豆豆 阅读(232) 评论(0) 推荐(0)
摘要: flutter 2.x运行flutter run 报错Cannot run with sound null safety, because the following dependenciesdon't support null safety: flutter sdk提示不是支持 null safe 阅读全文
posted @ 2021-09-17 01:42 糖~豆豆 阅读(242) 评论(0) 推荐(0)
摘要: flutter 1.升级2.X在模型类中序列化JSON报错 Non-nullable instance field 'title' must be initialized. Try adding an initializer expression, or add a field initialize 阅读全文
posted @ 2021-09-17 00:57 糖~豆豆 阅读(247) 评论(0) 推荐(0)
摘要: Flutter里有个很好用的东西,可以方便我们来进行页面组件的布局调试,话不多说,上代码 1.找到main.dart引入rendering.dart import 'package:flutter/rendering.dart'; 2.添加main入口页面调试代码 void main() { // 阅读全文
posted @ 2021-09-14 23:09 糖~豆豆 阅读(158) 评论(0) 推荐(0)
摘要: 先强调一下,很多问题可以使用reStart更新试一下下!!!!! 使用flutter_screenutil 报错 Looking up a deactivated widget's ancestor is unsafe. The following assertion was thrown whil 阅读全文
posted @ 2021-09-13 01:35 糖~豆豆 阅读(1260) 评论(0) 推荐(0)
摘要: Another exception was thrown: ScrollController attached to multiple scroll views. 翻译一下:引发了另一个异常:ScrollController连接到多个滚动视图。 Flutter Swiper是一个轮播图组件,内部包含 阅读全文
posted @ 2021-09-13 00:34 糖~豆豆 阅读(459) 评论(0) 推荐(0)
摘要: 学习flutter新版本的路上,真的是一天一个新惊喜啊 今天遇到的坑是 Flutter 升级高版本后,运行和build 报错 Error: Cannot run with sound null safety, because the following dependencies don't supp 阅读全文
posted @ 2021-09-13 00:00 糖~豆豆 阅读(1016) 评论(0) 推荐(0)
摘要: 1.新建项目,打开Android studio,点击红圈部分 2.选择第一个 3.设置你的项目名称,flutter sdk位置,以及项目存储路径 4.设置包名,这个要唯一 5.好啦 ~ 作为一名前端开发工程师,我们还是喜欢用VS CODE来进行开发哦,使用VS CODE打开我们刚刚搞得项目,运行 f 阅读全文
posted @ 2021-09-12 23:46 糖~豆豆 阅读(85) 评论(0) 推荐(0)
摘要: flutter有一些报错如下 The type of the function literal can't be inferred because the literal has a block as its body. Try adding an explicit type to the vari 阅读全文
posted @ 2021-09-12 01:10 糖~豆豆 阅读(1371) 评论(0) 推荐(0)
上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 46 下一页
Live2D