会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
lude1994
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
3
4
5
6
7
8
9
10
11
···
20
下一页
2021年2月16日
微信小程序胶囊高度和状态栏高度
摘要: //事件处理函数 onLoad: function (options) { const res = wx.getSystemInfoSync() var statusbarH = res.statusBarHeight this.setData({ statusbar :statusbarH, //
阅读全文
posted @ 2021-02-16 14:30 lude1994
阅读(3422)
评论(0)
推荐(0)
2021年2月15日
微信小程序识别ios平台的底部padding
摘要: 参考:https://blog.csdn.net/weixin_44622984/article/details/111572159 我使用的是参考文章的最后一种方式:需要加在需要padding的地方 padding-bottom: constant(safe-area-inset-bottom);
阅读全文
posted @ 2021-02-15 10:25 lude1994
阅读(528)
评论(0)
推荐(0)
2021年1月26日
flutter 光束效果
摘要: 效果如下 1.插件 flash_animation: ^0.0.1 2.在需要的页面引入 import 'package:flash_animation/flash_animation.dart'; 3.控制器 ///闪光动画控制器 FlashAnimationController flashAni
阅读全文
posted @ 2021-01-26 17:12 lude1994
阅读(346)
评论(0)
推荐(0)
2021年1月23日
flutter 去除安卓的半透明的状态栏,已实现
摘要: 在main.dart中 // 除半透明状态栏 if (Theme.of(context).platform == TargetPlatform.android) { // android 平台 SystemUiOverlayStyle _style = SystemUiOverlayStyle(st
阅读全文
posted @ 2021-01-23 21:07 lude1994
阅读(774)
评论(0)
推荐(0)
flutter 改变状态栏系统的字体颜色
摘要: // 状态栏字体白色 static const SystemUiOverlayStyle light = SystemUiOverlayStyle( systemNavigationBarColor: Color(0xFF000000), systemNavigationBarDividerColo
阅读全文
posted @ 2021-01-23 21:03 lude1994
阅读(1774)
评论(0)
推荐(0)
2021年1月21日
flutter 监测textInput失去焦点和得到焦点
摘要: 参考:https://blog.csdn.net/weixin_27013291/article/details/112715846 1.创建FocusNode //创建FocusNode对象实例 FocusNode focusNode = FocusNode(); 2.初始化函数中添加焦点监听 @
阅读全文
posted @ 2021-01-21 13:06 lude1994
阅读(1012)
评论(0)
推荐(0)
flutter 强制竖屏和横屏
摘要: 参考:https://blog.csdn.net/u013185272/article/details/85695630?utm_medium=distribute.pc_relevant.none-task-blog-searchFromBaidu-3.control&depth_1-utm_so
阅读全文
posted @ 2021-01-21 12:51 lude1994
阅读(2012)
评论(0)
推荐(0)
2021年1月17日
Error: ADB exited with exit code 1
摘要: Error: ADB exited with exit code 1 Performing Streamed Install adb: failed to install /Users/mm/Desktop/hotDemo/build/app/outputs/flutter-apk/app.apk:
阅读全文
posted @ 2021-01-17 19:51 lude1994
阅读(2233)
评论(0)
推荐(0)
2021年1月10日
flutter 输入框去除padding
摘要: 只需要在输入框的 decoration: InputDecoration()里面写以下属性即可 isDense: true,
阅读全文
posted @ 2021-01-10 11:29 lude1994
阅读(548)
评论(0)
推荐(0)
2021年1月9日
flutter chewie 视频播放
摘要: 1.下载插件 chewie: ^0.9.8+1 video_player: ^0.10.10 2.在使用页面引入 import 'package:chewie/chewie.dart'; import 'package:video_player/video_player.dart'; 3.定义 Vi
阅读全文
posted @ 2021-01-09 16:10 lude1994
阅读(1367)
评论(0)
推荐(0)
上一页
1
···
3
4
5
6
7
8
9
10
11
···
20
下一页
公告