Commit 9324b1b1 authored by Hans Muller's avatar Hans Muller

StockRow height, background color updates

Make stock2 exactly match the original stock demo.

R=ianh@google.com

Review URL: https://codereview.chromium.org/1187563006.
parent 6c7a619f
...@@ -2,8 +2,6 @@ ...@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
import 'dart:sky' as sky;
import 'package:sky/rendering/box.dart'; import 'package:sky/rendering/box.dart';
import 'package:sky/theme2/typography.dart' as typography; import 'package:sky/theme2/typography.dart' as typography;
import 'package:sky/widgets/ink_well.dart'; import 'package:sky/widgets/ink_well.dart';
...@@ -19,7 +17,7 @@ class StockRow extends Component { ...@@ -19,7 +17,7 @@ class StockRow extends Component {
final Stock stock; final Stock stock;
static const double kHeight = 70.0; static const double kHeight = 79.0;
UINode build() { UINode build() {
String lastSale = "\$${stock.lastSale.toStringAsFixed(2)}"; String lastSale = "\$${stock.lastSale.toStringAsFixed(2)}";
...@@ -48,7 +46,7 @@ class StockRow extends Component { ...@@ -48,7 +46,7 @@ class StockRow extends Component {
height: kHeight, height: kHeight,
decoration: const BoxDecoration( decoration: const BoxDecoration(
border: const Border( border: const Border(
bottom: const BorderSide(color: const sky.Color(0xFFF4F4F4)))), bottom: const BorderSide(color: const Color(0xFFF4F4F4)))),
child: new Flex(children) child: new Flex(children)
) )
); );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment