Revert "Improved support for saving and restoring the scroll offset, etc (#10517)" (#10575)

This reverts commit c8e4cbf27d.
This commit is contained in:
Ian Hickson
2017-06-07 18:51:28 -07:00
committed by GitHub
parent 0cef0aaf35
commit 6ccc618abd
9 changed files with 54 additions and 196 deletions

View File

@@ -76,7 +76,7 @@ class EntryItem extends StatelessWidget {
if (root.children.isEmpty)
return new ListTile(title: new Text(root.title));
return new ExpansionTile(
key: new PageStorageKey<Entry>(root),
key: new ValueKey<Entry>(root),
title: new Text(root.title),
children: root.children.map(_buildTiles).toList(),
);