| Index: sky/examples/stocks/lib/stock_arrow.dart
|
| diff --git a/sky/examples/stocks/lib/stock_arrow.dart b/sky/examples/stocks/lib/stock_arrow.dart
|
| index 78a4b66ee7d579a8565ee3da52bd10a0d5d9ec28..5395984f25cb2daaed62dc06fe9d2d151eddabf4 100644
|
| --- a/sky/examples/stocks/lib/stock_arrow.dart
|
| +++ b/sky/examples/stocks/lib/stock_arrow.dart
|
| @@ -4,13 +4,12 @@
|
|
|
| import 'dart:math';
|
| import 'package:sky/framework/fn.dart';
|
| +import 'package:sky/framework/layout.dart';
|
|
|
| class StockArrow extends Component {
|
| static final Style _style = new Style('''
|
| width: 40px;
|
| height: 40px;
|
| - display: flex;
|
| - flex-direction: row;
|
| align-items: center;
|
| justify-content: center;
|
| border-radius: 40px;
|
| @@ -79,8 +78,9 @@ class StockArrow extends Component {
|
| bool up = percentChange > 0;
|
| String type = up ? 'bottom' : 'top';
|
|
|
| - return new Container(
|
| + return new FlexContainer(
|
| inlineStyle: 'border-color: $border',
|
| + direction: FlexDirection.Row,
|
| style: _style,
|
| children: [
|
| new Container(
|
|
|