Flutter is the new trending for mobile development, and the UI is fluent and coding is made efficient using convenient tools like hot-reload and dart devtools....
Continue reading...Flutter
About flutter’s framework or engine design
Flutter 中的InheritedWidgets详解
InheritedWidget可以获取widget树的任何一级父widget的状态 当调用Loacle.of(context) 时 context -> BuildContext 实际上是Element的公共接口类, 为了防止直接对Element进行操作 abstract class Element extends DiagnosticableTree implements BuildContext 调动Element.dependOnInheritedWidgetsOfExactType 先查找ancestor 如果 ancestor 存在 _inheritedWidgets 中 (这个HashMap是在Element tree中传递的, 子Element继承 父Element的_inheritedWidgets表...
Continue reading...The Flutter Engine Source (1)
As you know, flutter is a multi-platform ui engine for mobile, desktop and web, the flutter engine architecture is like this. On the bottom lies the...
Continue reading...About Flutter’s layered design
So regarding the Google tech talk about the flutter layers. I decided to write a blog about what I’ve learnt from the video. Here is the...
Continue reading...
Recent Comments