Update mixed_viewport example to new Key API

This commit is contained in:
Hans Muller
2015-08-31 11:37:25 -07:00
parent 58e013c46e
commit fbe4bb42a0

View File

@@ -107,7 +107,7 @@ class MixedViewportApp extends App {
if (index >= lengths.length)
return null;
return new GestureDetector(
key: new Key.stringify(lengths[index]),
key: new ValueKey<double>(lengths[index]),
onTap: () => removeBox(index),
child: new Container(
decoration: new BoxDecoration(