上一页 1 ··· 21 22 23 24 25 26 27 28 29 ··· 123 下一页
摘要: Error: Cannot run with sound null safety, because the following dependencies,don't support null safety: - package:plugin_platform_interface 解决方法: Try 阅读全文
posted @ 2021-05-09 14:26 技术研究与问题解决 阅读(3816) 评论(0) 推荐(0)
摘要: dart语言匿名函数与=>语法 => expr 等同于{ return expr; } 匿名函数的参照如下:([[Type] param1[, …]]) {codeBlock;}; 例子 (context) => HomePage(widget.isDark, themeChanger) 上面的语句 阅读全文
posted @ 2021-05-09 09:09 技术研究与问题解决 阅读(77) 评论(0) 推荐(0)
摘要: 1.函数定义 int add(int x) { return x + 1; } 调用 add(1); 定义时函数类型可以省略 (不建议省略) 函数都有返回类型,void类型函数 实际返回null 函数可以在函数内部定义,无限嵌套 当函数只有一行表达式时,可以使用箭头简写 int add(int a) 阅读全文
posted @ 2021-05-09 09:05 技术研究与问题解决 阅读(246) 评论(0) 推荐(0)
摘要: I had this problem with :path_provider & aapt2-proto and fix it in this way: in project-folder/gradle/wrapper/gradle-wrapper.properties change this: d 阅读全文
posted @ 2021-05-08 18:01 技术研究与问题解决 阅读(6701) 评论(0) 推荐(0)
摘要: Flutter入门坑一Could not resolve com.android.tools.build:gradle:3.2.1. 阅读全文
posted @ 2021-05-08 15:04 技术研究与问题解决 阅读(529) 评论(0) 推荐(0)
摘要: CircleAvatar( backgroundImage: NetworkImage(avatar), radius: 30, ), 阅读全文
posted @ 2021-05-07 10:27 技术研究与问题解决 阅读(39) 评论(0) 推荐(0)
摘要: MissingPluginException(No implementation found for method getDatabasesPath on channel com.tekartik.sqflite) 阅读全文
posted @ 2021-05-05 20:14 技术研究与问题解决 阅读(1149) 评论(0) 推荐(0)
摘要: flutter应用打包、修改图标、启动页和app名字 阅读全文
posted @ 2021-05-05 16:52 技术研究与问题解决 阅读(187) 评论(0) 推荐(0)
摘要: import 'package:sqflite/sqflite.dart';// Get a location using getDatabasesPath var databasesPath = await getDatabasesPath(); String path = join(databa 阅读全文
posted @ 2021-05-04 19:02 技术研究与问题解决 阅读(163) 评论(0) 推荐(0)
摘要: Flutter解决神奇的ListView顶部多一段空白高度的问题 阅读全文
posted @ 2021-05-04 11:27 技术研究与问题解决 阅读(531) 评论(0) 推荐(0)
上一页 1 ··· 21 22 23 24 25 26 27 28 29 ··· 123 下一页