当前位置:网站首页>Analysis of updatechild principle of widget update mechanism of fluent

Analysis of updatechild principle of widget update mechanism of fluent

2022-06-26 03:56:00 Guowuyou

This blog will analyze Widget The update mechanism of , Before reading this article, readers are advised to read Fultter And Element and Widget Correspondence analysis , from Element and Widget Correspondence in this blog post, we can know that there are the following table relationships :

Widget explain give an example
MultiChildRenderObjectWidget This type of Widget Multiple can be added widgetRow,Column,Stack
SingleChildRenderObjectWidget This type of widget Only one... Can be added widgetCenter,Padding,Container
LeafRenderObjectWidget This type is the leaf node of the tree , Therefore, it cannot be added widgetText,Image,Seman
原网站

版权声明
本文为[Guowuyou]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202180545203236.html