diff --git a/sdk/example/rendering/justify_content.dart b/sdk/example/rendering/justify_content.dart index fc8c86a49fb..2f069684068 100644 --- a/sdk/example/rendering/justify_content.dart +++ b/sdk/example/rendering/justify_content.dart @@ -32,8 +32,8 @@ void main() { row.parentData.flex = 1; } - addRow(FlexJustifyContent.flexStart); - addRow(FlexJustifyContent.flexEnd); + addRow(FlexJustifyContent.start); + addRow(FlexJustifyContent.end); addRow(FlexJustifyContent.center); addRow(FlexJustifyContent.spaceBetween); addRow(FlexJustifyContent.spaceAround); diff --git a/sdk/example/widgets/styled_text.dart b/sdk/example/widgets/styled_text.dart index c2d15922dc4..b417d0be433 100644 --- a/sdk/example/widgets/styled_text.dart +++ b/sdk/example/widgets/styled_text.dart @@ -96,7 +96,7 @@ HAL: This mission is too important for me to allow you to jeopardize it.'''; child: new Flex(children, direction: FlexDirection.vertical, justifyContent: FlexJustifyContent.center, - alignItems: FlexAlignItems.flexStart + alignItems: FlexAlignItems.start ) ); diff --git a/sdk/lib/rendering/flex.dart b/sdk/lib/rendering/flex.dart index 52f02aee1dd..5f8f6e38991 100644 --- a/sdk/lib/rendering/flex.dart +++ b/sdk/lib/rendering/flex.dart @@ -22,16 +22,16 @@ class FlexBoxParentData extends BoxParentData with ContainerParentDataMixin children, { String key, this.direction: FlexDirection.horizontal, - this.justifyContent: FlexJustifyContent.flexStart, + this.justifyContent: FlexJustifyContent.start, this.alignItems: FlexAlignItems.center }) : super(key: key, children: children); diff --git a/sdk/lib/widgets/dialog.dart b/sdk/lib/widgets/dialog.dart index 20e8650cbf3..a7919da4a90 100644 --- a/sdk/lib/widgets/dialog.dart +++ b/sdk/lib/widgets/dialog.dart @@ -72,7 +72,7 @@ class Dialog extends Component { } if (actions != null) - children.add(new Flex(actions, justifyContent: FlexJustifyContent.flexEnd)); + children.add(new Flex(actions, justifyContent: FlexJustifyContent.end)); return new Stack([ new Listener( diff --git a/sdk/lib/widgets/tool_bar.dart b/sdk/lib/widgets/tool_bar.dart index c1762169358..c8c361a506c 100644 --- a/sdk/lib/widgets/tool_bar.dart +++ b/sdk/lib/widgets/tool_bar.dart @@ -67,7 +67,7 @@ class ToolBar extends Component { data: new IconThemeData(color: iconThemeColor), child: new Flex( [new Container(child: new Flex(children), height: kToolBarHeight)], - alignItems: FlexAlignItems.flexEnd + alignItems: FlexAlignItems.end ) ), padding: new EdgeDims.symmetric(horizontal: 8.0),