Commit 0892f6a5 authored by Hans Muller's avatar Hans Muller Committed by GitHub

Corrected the scrollable tab view key in the tabs demo (#5458)

parent 80fe689a
......@@ -152,7 +152,7 @@ class _TabsDemoState extends State<TabsDemo> {
body: new TabBarView<_Page>(
children: _allPages.keys.map((_Page page) {
return new ScrollableList(
scrollableKey: _selectedPage.scrollableKey,
scrollableKey: page.scrollableKey,
padding: const EdgeInsets.symmetric(vertical: 8.0, horizontal: 16.0),
itemExtent: _CardDataItem.height,
children: _allPages[page].map((_CardData data) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment