From 2a5810e36fb5b9becc2d14e421edb345266958ab Mon Sep 17 00:00:00 2001 From: Ian Hickson Date: Fri, 7 Apr 2017 17:51:41 -0700 Subject: [PATCH] Point from gallery's routing table to stocks'. (#9287) The stocks routing table is a clearer example of how to do this. People know to look at the gallery, but don't think to look at the stocks version. This points them from the former to the latter. --- examples/flutter_gallery/lib/gallery/app.dart | 3 +++ 1 file changed, 3 insertions(+) diff --git a/examples/flutter_gallery/lib/gallery/app.dart b/examples/flutter_gallery/lib/gallery/app.dart index eaa153568f..d6353c9ca7 100644 --- a/examples/flutter_gallery/lib/gallery/app.dart +++ b/examples/flutter_gallery/lib/gallery/app.dart @@ -13,6 +13,9 @@ import 'item.dart'; import 'updates.dart'; final Map _kRoutes = new Map.fromIterable( + // For a different example of how to set up an application routing table, + // consider the Stocks example: + // https://github.com/flutter/flutter/blob/master/examples/stocks/lib/main.dart kAllGalleryItems, key: (GalleryItem item) => item.routeName, value: (GalleryItem item) => item.buildRoute,