Flutter RenderObject
Flutter RenderObject
layout, painting, compositing and hit-testing
render tree
Every widget bears an optional direct connection to a specific instance of RenderObject
performLayout
paint
describeSemanticsConfiguration
widget 充当用户界面的声明性模型, RenderObject 屏幕上表示widget.
Rendering Process
Layout Phase
计算自身和子Widget大小
@override
void pe...
Download Video
Download Video
you-get
youtube-dl yt-dlp
yt-dlp --proxy socks5://127.0.0.1:4781/ -S res,vcodec:h264,acodec:m4a,ext "https://www.youtube.com/watch?v=NCfJ_MTSWRA"
Reference
Rust introduce
Rust introduce
Component
rustup-init: is the Rust installer for Windows. It’s a small executable that’s used to install rustup, which is the Rust toolchain installer and manager, on Windows systems.
rustup: Rustup is the Rust toolchain installer and manager. It allows you to easily install, update, and switch between different versions of...
ios pay
ios pay
背景:
苹果规定「虚拟数字产品」必须使用苹果IPA(内购)来完成支付,并且苹果会抽取30%的费用。因此如何绕开这 30% 的抽水,是很多开发者都关心的问题,也是我们公司要解决的问题。
看用户付费购买的商品/服务是否为「虚拟数字产品」。更详细地说,看商品/服务的实际消费场景是在 app 内,还是 app 之外。
在 app 内即可完成消费的,苹果要求使用 IAP。典型如电子书、在线音乐、充值类虚拟货币、游戏/直播中道具、QQ/微博等会员类产品、在视频 app 中看电影、微信表情等。
需要在 app 之外完成消费的,可以使用第三方支付。典型如线下电影票、实物电商、在行、滴滴出行/Uber 等。
解决办法:
1、现在苹果上架较为严格,如果接入sdk的话,苹果可能...
463 post articles, 58 pages.