会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
90%
sqmw
The awakening is always delayed, there seems to be some fog
博客园
|
首页
|
新随笔
|
新文章
|
联系
|
订阅
|
管理
上一页
1
···
7
8
9
10
11
12
13
14
15
···
27
下一页
2023年1月19日
flutter 分割线
摘要: Divider() VerticalDivider()
阅读全文
posted @ 2023-01-19 21:08 sqmw
阅读(29)
评论(0)
推荐(0)
编辑
2023年1月17日
win32 ShowWindow
摘要: /// 这个函数调用之后就会给系统置于maximize状态,如果我们没有调用其他的方法回复状态,我们就先对窗口的大小进行设置后,随后不能进行再次进行最大化,调用下面的ShowWindow(hWnd, SW_RESTORE),可以恢复 /// SW_RESTORE Activates and disp
阅读全文
posted @ 2023-01-17 09:59 sqmw
阅读(32)
评论(0)
推荐(0)
编辑
Flutter 定义局部路由 Navigator
摘要: Flutter 路由管理 Flutter 中,通常我们使用 Navigator 来管理全局的页面路由,在整个应用中维护一个路由堆栈。但是,有些情况下你可能需要一个局部路由,也就是在应用的某个部分内部维护一个独立的路由堆栈,而不影响全局路由。为了实现这一点,你可以在你的应用中创建一个新的 Naviga
阅读全文
posted @ 2023-01-17 08:58 sqmw
阅读(139)
评论(0)
推荐(0)
编辑
win32 获取窗口大小
摘要: // 以下两个函数获取的是显示屏幕的大小,不包括任务栏等区域 int screenwidth = GetSystemMetrics(SM_CXFULLSCREEN); int screenheight = GetSystemMetrics(SM_CYFULLSCREEN); printf("%d,%
阅读全文
posted @ 2023-01-17 02:29 sqmw
阅读(605)
评论(0)
推荐(0)
编辑
2023年1月16日
dart win32
摘要: sizeOf<TYPE>(COUNT) malloc<POINT>()
阅读全文
posted @ 2023-01-16 10:28 sqmw
阅读(13)
评论(0)
推荐(0)
编辑
2023年1月15日
手势(gesture)、鼠标(cursor)
摘要: GestureDetector: can get all actions MouseRegion : can detect cursor position in its children. https://stackoverflow.com/questions/64500727/flutter-ge
阅读全文
posted @ 2023-01-15 21:06 sqmw
阅读(9)
评论(0)
推荐(0)
编辑
win32 设置窗口无标题栏
摘要: // 窗口创建之后 SetWindowLong(hWnd, GWL_STYLE, GetWindowLong(hWnd, GWL_STYLE) & ~WS_CAPTION); // 为创建窗口的时候 不使用 WS_CAPTION,WS_OVERLAPPEDWINDOW,WS_TILEDWINDOW,
阅读全文
posted @ 2023-01-15 20:53 sqmw
阅读(348)
评论(0)
推荐(0)
编辑
dart 判定网络连接情况
摘要: import 'dart:io'; void main() async{ try { final result = await InternetAddress.lookup('example.com'); if (result.isNotEmpty && result[0].rawAddress.i
阅读全文
posted @ 2023-01-15 12:11 sqmw
阅读(16)
评论(0)
推荐(0)
编辑
2023年1月13日
dart_vlc 基本介绍
摘要: ### Player(是一个控制器) ```dart /// player 实际上就是控制器,可以对当前的播放列表的维护 final Player _player = Player( id: 0, /// 下面也可以设置video的大小,遵循后来者居上 videoDimensions: const
阅读全文
posted @ 2023-01-13 22:40 sqmw
阅读(111)
评论(0)
推荐(0)
编辑
2023年1月12日
activeBg用到链接
摘要: 搭建视频:https://www.jianshu.com/p/d2795a6a06fb https://imgur.com/ https://catbox.moe/ https://pixabay.com/videos/search/live%20wallpaper/ https://livewal
阅读全文
posted @ 2023-01-12 19:21 sqmw
阅读(17)
评论(0)
推荐(0)
编辑
上一页
1
···
7
8
9
10
11
12
13
14
15
···
27
下一页
公告