Index: sky/examples/stocks2/lib/stock_row.dart |
diff --git a/sky/examples/stocks2/lib/stock_row.dart b/sky/examples/stocks2/lib/stock_row.dart |
index 9a32825131996980e41c6b785b7cf9ff41f55878..48e2cbcfbb6432739c1a296f0145acbd3563f3e7 100644 |
--- a/sky/examples/stocks2/lib/stock_row.dart |
+++ b/sky/examples/stocks2/lib/stock_row.dart |
@@ -7,6 +7,7 @@ import 'package:sky/rendering/box.dart'; |
import 'package:sky/theme/typography.dart' as typography; |
import 'package:sky/widgets/ink_well.dart'; |
import 'package:sky/widgets/basic.dart'; |
+import 'package:sky/widgets/theme.dart'; |
import 'stock_arrow.dart'; |
import 'stock_data.dart'; |
@@ -43,7 +44,7 @@ class StockRow extends Component { |
new Flexible( |
child: new Text( |
changeInPrice, |
- style: typography.black.caption.copyWith(textAlign: TextAlign.right) |
+ style: Theme.of(this).text.caption.copyWith(textAlign: TextAlign.right) |
eseidel
2015/06/22 22:28:16
Should this be this.theme() instead?
jackson
2015/06/22 22:40:10
Right now that's not how the inheritance system wo
|
) |
) |
]; |