Tabs and scrolling has odd card text (#4019)
Looks like our intent here was to show the tab label rather than "Instance of '_Page'". Also, fix an issue where the scrollableKey wasn't being forwarded to the actual scrollable. Fixes #3090
This commit is contained in:
@@ -68,7 +68,7 @@ class TabsDemoState extends State<TabsDemo> {
|
||||
height: 192.0,
|
||||
child: new Card(
|
||||
child: new Center(
|
||||
child: new Text('Tab $page.label, item $i')
|
||||
child: new Text('Tab ${page.label}, item $i')
|
||||
)
|
||||
)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user