Correct TabNavigatorWidth, tabs.dart example

This commit is contained in:
Hans Muller
2015-10-28 16:26:22 -07:00
parent 4c9f15cc8b
commit 7de7105fc5
2 changed files with 9 additions and 2 deletions

View File

@@ -136,5 +136,10 @@ class TabbedNavigatorAppState extends State<TabbedNavigatorApp> {
}
void main() {
runApp(new TabbedNavigatorApp());
runApp(new MaterialApp(
title: 'Tabs',
routes: <String, RouteBuilder>{
'/': (RouteArguments args) => new TabbedNavigatorApp(),
}
));
}