Skip to content

Commit 870f4e4

Browse files
committed
update readme
1 parent 84de2fe commit 870f4e4

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,12 +96,17 @@ class NestedHell extends StatelessWidget {
9696
6. bias
9797
7. z-index(drawing order, default is child index)
9898
8. translate
99-
9. percentage layout
99+
9. percentage layout(when size is set to matchConstraint, the percentage layout will take effect,
100+
the default percentage is 1 (100%). The relevant properties are widthPercent, heightPercent,
101+
widthPercentageAnchor, heightPercentageAnchor)
100102
10. guideline
101103
11. constraints and widgets separation
102104
12. barrier
103105
13. dimension ratio
104106
14. relative id
107+
1. rId(3) represents the 3th child element, and so on
108+
2. sId(-1) represents the previous sibling element, and so on
109+
3. sId(1) represents the next sibling element, and so on
105110
15. wrapper constraints
106111
1. topLeftTo
107112
2. topCenterTo

0 commit comments

Comments
 (0)