File tree 1 file changed +13
-0
lines changed
1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -85,6 +85,15 @@ interface Fragment {
85
85
};
86
86
```
87
87
88
+ One important thing to note is that you can't change the ` inlineSize ` or ` blockSize ` of a fragment
89
+ once have received it from a child layout. The _ only_ thing you can change is it's position (with
90
+ ` inlineStart ` or ` blockStart ` ) relative to the parent.
91
+
92
+ See below for a description of baselines.
93
+
94
+ The ` unpositionedBoxes ` attribute is a list of ` Box ` es which couldn't be positioned by the child.
95
+ The current layout can choose to layout and position these, or it can pass them up to it's parent.
96
+
88
97
#### The ` ConstraintSpace `
89
98
90
99
A ` ConstraintSpace ` is a 2D representation of the layout space given to a layout. A constraint space
@@ -332,6 +341,10 @@ children into a "Tracks" data structure for layout.
332
341
333
342
TODO: add API proposal here.
334
343
344
+ #### Baselines
345
+
346
+ TODO: add explaination why we need a more powerful API than just offset here.
347
+
335
348
### Performing Layout
336
349
337
350
The Layout API is best described with a simple dummy example:
You can’t perform that action at this time.
0 commit comments