diff --git a/sky/packages/sky/lib/src/rendering/flex.dart b/sky/packages/sky/lib/src/rendering/flex.dart index 5d32f41c99b..70ce5a7bac1 100644 --- a/sky/packages/sky/lib/src/rendering/flex.dart +++ b/sky/packages/sky/lib/src/rendering/flex.dart @@ -46,6 +46,8 @@ enum FlexJustifyContent { spaceBetween, /// Place the free space evenly between the children as well as before and after the first and last child spaceAround, + /// Do not expand to fill the free space. None of the children may specify a flex factor. + collapse, } /// How the children should be placed along the cross axis in a flex layout @@ -337,7 +339,7 @@ class RenderFlex extends RenderBox with ContainerRenderObjectMixin