From f7b36f07f81f17e28345173550552d734203636d Mon Sep 17 00:00:00 2001 From: Hans Muller Date: Mon, 16 Nov 2015 11:35:42 -0800 Subject: [PATCH] Give the StockSymbolView's Hero a Key --- examples/stocks/lib/stock_symbol_viewer.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/stocks/lib/stock_symbol_viewer.dart b/examples/stocks/lib/stock_symbol_viewer.dart index 6642b19c214..9d4affd5eef 100644 --- a/examples/stocks/lib/stock_symbol_viewer.dart +++ b/examples/stocks/lib/stock_symbol_viewer.dart @@ -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)