01 2020 档案

flutter int互转string (dart语法)
摘要://int转string 8848.toString(); //string转int int.parse("8848"); 阅读全文

posted @ 2020-01-11 14:37 高彰 阅读(22840) 评论(0) 推荐(1) 编辑

flutter Could not find the built application bundle at build/ios/iphonesimulator/Runner.app
摘要:运行flutter run时报错 提示如下: Could not find the built application bundle at build/ios/iphonesimulator/Runner.app. Error launching application on iPhone 11 P 阅读全文

posted @ 2020-01-11 09:31 高彰 阅读(789) 评论(0) 推荐(0) 编辑

flutter color
摘要:style:TextStyle(color: Colors.white) style:TextStyle(color: Colors.white70) color: Colors.blue[400] color: Color(0xfff1f1f1) 阅读全文

posted @ 2020-01-08 15:51 高彰 阅读(129) 评论(0) 推荐(0) 编辑

flutter 字符串拼接
摘要:// 拼接字符串, 输出:单引号空格 或者 双引号空格 String blockStr = '单引号'+'空格'; String blockStr1 = "双引号"+"空格"; 阅读全文

posted @ 2020-01-07 18:14 高彰 阅读(10532) 评论(0) 推荐(0) 编辑

flutter 获取屏幕的宽高
摘要:width: MediaQuery.of(context).size.width, height: MediaQuery.of(context).size.height, 阅读全文

posted @ 2020-01-03 20:58 高彰 阅读(2466) 评论(0) 推荐(0) 编辑

flutter 字符串引号
摘要:// 单引号里面有单引号,必须在前面加反斜杠 String str3 = '单引号里面有单引号it\'s,必须在前面加反斜杠.'; //双引号里面嵌套单引号(正常使用) String str4 = "双引号里面有单引号it's."; //单引号里面嵌套双引号(正常使用) String str5 = '单引号里面有双引号,"hello world"'; //双引号里面嵌套双引号,必须在前面加反斜杠... 阅读全文

posted @ 2020-01-02 10:18 高彰 阅读(1896) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

导航

统计

点击右上角即可分享
微信分享提示