addPostFrameCallback 与 endOfFrame 的区别           
       2024-11-13 
        WidgetsBinding 类为我们提供了访问当前 widget 系统状态的能力,正如 Flutter 文档所述,它是 widget 层与 Flutter 引擎之间的粘合剂。通过 WidgetsBinding 实例,我们可以访问 addPostFrameCallback 和 endOfFrame.then。 
   532  字 
 |
  3  分钟 
   Flutter App 的优化小记           
       2024-11-12 
        RepaintBoundary、GrowableList.add/toList、TimelineTask、shouldRepaint() 
   359  字 
 |
  2  分钟 
   Rust 中的 std::ops 和 core::ops           
       2024-09-08 
        `std::ops` 和 `core::ops` 是 Rust 中两个常见的 trait 模块,都定义了运算符重载的 traits。 
   92  字 
 |
  1  分钟 
   Rust 为什么需要 Pin           
       2024-09-08 
        Rust的异步编程中,编写自定义异步库时会遇到 `Pin<&mut Self>` 和 `T: ?Unpin` 等。这些概念源于自引用类型(self-referential types)的安全问题 
   225  字 
 |
  1  分钟 
   Dart memory and WeakReferences           
       2024-08-09 
        Learn how memory management works in Dart and how to use WeakReferences. 
   289  字 
 |
  1  分钟 
  
  