File tree Expand file tree Collapse file tree 1 file changed +7
-14
lines changed
src/docs/development/ui/layout Expand file tree Collapse file tree 1 file changed +7
-14
lines changed Original file line number Diff line number Diff line change @@ -40,25 +40,18 @@ and then make them memorize the following rule:
4040(这些开发者很可能是 Web 开发),然后要让他们熟记这条规则:
4141
4242<center ><font size =" +2 " >
43-
44- * <b >Constraints go down.</b >
45-
46- <b > 首先,上层 widget 向下层 widget 传递约束条件。</b >
47-
48- * <b >Sizes go up.</b >
49-
50- <b > 然后,下层 widget 向上层 widget 传递大小信息。</b >
51-
52- * <b >Parent sets position.</b >
53-
54- <b > 最后,上层 widget 决定下层 widget 的位置。</b >
55-
43+ <t ><b >Constraints go down. Sizes go up. Parent sets position.</b ></t >
44+ <t >首先,上层 widget 向下层 widget 传递约束条件;<br />
45+ 然后,下层 widget 向上层 widget 传递大小信息。<br />
46+ 最后,上层 widget 决定下层 widget 的位置。<br />
47+ </t >
5648</font ></center >
5749
5850Flutter layout can’t really be understood without knowing
5951this rule, so Flutter developers should learn it early on.
6052
61- 如果我们在开发时无法熟练运用这条规则,在布局时就不能完全理解其原理,所以越早掌握这条规则越好!
53+ 如果我们在开发时无法熟练运用这条规则,在布局时就不能完全理解其原理,
54+ 所以越早掌握这条规则越好!
6255
6356In more detail:
6457
You can’t perform that action at this time.
0 commit comments