File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -85,6 +85,15 @@ interface Fragment {
8585};
8686```
8787
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+
8897#### The ` ConstraintSpace `
8998
9099A ` 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.
332341
333342TODO: add API proposal here.
334343
344+ #### Baselines
345+
346+ TODO: add explaination why we need a more powerful API than just offset here.
347+
335348### Performing Layout
336349
337350The Layout API is best described with a simple dummy example:
You can’t perform that action at this time.
0 commit comments