2022年1月22日
摘要: a机器上有了L1语言的编译器P1,如何实现在这台机器上的另一个语言?????????????????? 这时候a机器一定认识一种代码A,而且P1就是由代码A构成的, 此时可以用L1语言写一个程序P2,P2程序的功能是将一个新语言(此时称L2)翻译为A代码. 经过P1编译后由 A代码组成的P2就能运行 阅读全文
posted @ 2022-01-22 15:44 ygdong 阅读(75) 评论(0) 推荐(0)
  2022年1月11日
摘要: Scaffold外包裹SafeArea 阅读全文
posted @ 2022-01-11 11:06 ygdong 阅读(308) 评论(0) 推荐(0)
  2021年12月30日
摘要: List initRowData() { List templist = []; for (int index = 0; index < virtualRepairData.length; index++) { //这里添加了这行数据后发现每次点击并不能更新视图,因为每次 //调用setstate后 阅读全文
posted @ 2021-12-30 16:29 ygdong 阅读(146) 评论(0) 推荐(0)
  2021年12月28日
摘要: 关闭移动热点 阅读全文
posted @ 2021-12-28 09:52 ygdong 阅读(344) 评论(0) 推荐(0)
  2021年12月23日
摘要: 改源码,,将padding布局组件改掉 阅读全文
posted @ 2021-12-23 18:16 ygdong 阅读(86) 评论(0) 推荐(0)
摘要: 原因——————bruno指定是使用flutter2.2.2版本 降低flutter版本方法——最简单直接的方式————官网重新下载stable 地址:Flutter SDK releases | Flutter ………………之后配置环境变量………………flutter doctor检查再运行 阅读全文
posted @ 2021-12-23 11:41 ygdong 阅读(1324) 评论(0) 推荐(1)
  2021年12月22日
摘要: DataTable( headingTextStyle: const TextStyle( fontWeight: FontWeight.bold, fontSize: 20, color: Colors.black), 要加上color属性,可能时文字颜色和背景相同,也可能是丢失了 阅读全文
posted @ 2021-12-22 14:54 ygdong 阅读(59) 评论(0) 推荐(0)
  2021年12月21日
摘要: isScrollable: true, 添加上面的属性 阅读全文
posted @ 2021-12-21 15:59 ygdong 阅读(1008) 评论(0) 推荐(0)
摘要: 不同版本的flutter可能会有区别但高版本用都是这个,(2.5+) 低版本的方法在高版本中deprecated 去,除顶部下拉 在顶部的build方法最开始加上 SystemChrome.setEnabledSystemUIMode(SystemUiMode.manual, overlays: [ 阅读全文
posted @ 2021-12-21 11:03 ygdong 阅读(1675) 评论(0) 推荐(0)
  2021年12月20日
摘要: TextField( onTap: () { setState(() { isUsrName = 2; }); }, obscureText: false, controller: TextEditingController .fromValue( TextEditingValue( //绑定值 t 阅读全文
posted @ 2021-12-20 16:02 ygdong 阅读(254) 评论(0) 推荐(0)