会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
mingV
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
2020年12月12日
flutter-应用版本更新dialog
摘要: https://www.cnblogs.com/upwgh/p/13367589.html
阅读全文
posted @ 2020-12-12 14:54 mingV2020
阅读(161)
评论(0)
推荐(0)
2020年12月9日
flutter-真机调试ios Traceback (most recent call last)
摘要: 1 Traceback (most recent call last): 2 File "/tmp/C5FDB25B-C7F4-462E-8AC9-7FF9D1A50F21/fruitstrap_d3ca95e47b6608c20ff2410e8938899af5a79f42.py", line 2
阅读全文
posted @ 2020-12-09 18:33 mingV2020
阅读(379)
评论(0)
推荐(0)
2020年12月2日
flutter-解决长按TextField出现英文(复制粘贴)问题
摘要: 第一步 引入依赖 dependencies: flutter: sdk: flutter flutter_localizations: sdk: flutter 第二步 在main.dart中添加代码 MaterialApp( //省略若干代码........ //国际化 localizations
阅读全文
posted @ 2020-12-02 13:17 mingV2020
阅读(2384)
评论(0)
推荐(0)
2020年11月30日
flutter-超出部分隐藏
摘要: 第一种写法 1 ConstrainedBox( 2 constraints: BoxConstraints( 3 maxHeight: 100 4 ), 5 child: Stack( 6 overflow: Overflow.clip, 7 children: <Widget>[ 8 Contai
阅读全文
posted @ 2020-11-30 11:26 mingV2020
阅读(5715)
评论(0)
推荐(0)
2020年11月25日
flutter-TextField文本输入框 限制 数字键盘、输入小数点后两位
摘要: 关键代码 keyboardType: TextInputType.number, inputFormatters: [ FilteringTextInputFormatter(RegExp("[0-9.]"), allow: true), MyNumberTextInputFormatter(dig
阅读全文
posted @ 2020-11-25 14:34 mingV2020
阅读(4997)
评论(0)
推荐(0)
2020年11月24日
flutter-延时执行
摘要: //1秒后这个i行 Future.delayed(Duration(milliseconds: 1000), () { //代码省略 });
阅读全文
posted @ 2020-11-24 18:04 mingV2020
阅读(3013)
评论(0)
推荐(0)
flutter-原生路由传自定义对象
摘要: 自定义对象 1 class Dk { 2 int id; 3 String title; 4 String address; 5 String ww; 6 String account; 7 } 传值 1 Navigator.push( 2 context, 3 MaterialPageRoute(
阅读全文
posted @ 2020-11-24 17:05 mingV2020
阅读(691)
评论(0)
推荐(0)
2020年11月23日
flutter-路由传值携带中文时,报错
摘要: 解决方案: 路由采用了第三方:fluro 1 Application.router.navigateTo(context, "/searchresult?word=${Uri.encodeComponent(“中文”)}"); 1 Uri.encodeComponent(“中文”) 备注:传一些特殊
阅读全文
posted @ 2020-11-23 17:09 mingV2020
阅读(582)
评论(0)
推荐(0)
上一页
1
2
3
公告