Give the StockSymbolView's Hero a Key

This commit is contained in:
Hans Muller
2015-11-16 11:35:42 -08:00
parent 8b1dd598e1
commit f7b36f07f8

View File

@@ -25,6 +25,7 @@ class StockSymbolView extends StatelessComponent {
style: Theme.of(context).text.display2
),
new Hero(
key: new ObjectKey(stock),
tag: StockRowPartKind.arrow,
turns: 2,
child: new StockArrow(percentChange: stock.percentChange)