Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[勘误] 第二章 Flutter中的四棵树 -> 三棵树 #212

Open
pserimal opened this issue Jan 7, 2024 · 1 comment
Open

[勘误] 第二章 Flutter中的四棵树 -> 三棵树 #212

pserimal opened this issue Jan 7, 2024 · 1 comment

Comments

@pserimal
Copy link

pserimal commented Jan 7, 2024

书中的介绍实际上是三棵树,官方文档也是介绍的三棵树,标题有误

@putongit
Copy link

如果书中这章节前半部分的描述来看的话,作者介绍的确实是4棵树,因为第一句话就有两棵树“根据 Widget 树生成一个 Element 树,Element 树中的节点都继承自 Element 类。”
这样的话四棵树分别是:Widget 树、Element 树、Render 树、Layer 树。但是章节最后一句话又说“在前面的章节中读者只需要记住以上三棵树就行。”

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants