Replace Flex to Row and Column in tests and examples.
This still leaves Flex and FlexDirection available. At some point once people have transitioned to Row/Column we should rename Flex to _Flex and stop reexporting FlexDirection from basic.dart.
This commit is contained in:
@@ -64,11 +64,10 @@ class ProgressIndicatorApp extends App {
|
||||
child: new CircularProgressIndicator(value: valueAnimation.value)
|
||||
)
|
||||
];
|
||||
return new Flex(
|
||||
return new Column(
|
||||
indicators
|
||||
.map((c) => new Container(child: c, margin: const EdgeDims.symmetric(vertical: 20.0)))
|
||||
.toList(),
|
||||
direction: FlexDirection.vertical,
|
||||
justifyContent: FlexJustifyContent.center
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user