Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(32)

Unified Diff: sky/examples/widgets/navigation.dart

Issue 1194473004: Remove keys from the examples. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/examples/widgets/container.dart ('k') | sky/examples/widgets/sector.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/examples/widgets/navigation.dart
diff --git a/sky/examples/widgets/navigation.dart b/sky/examples/widgets/navigation.dart
index a5e32000278a3ffe6ec86481fd80ab5b54f67a25..6f1d3d99bdf11d0ce5ffdb45a0784881ed7b8aaf 100644
--- a/sky/examples/widgets/navigation.dart
+++ b/sky/examples/widgets/navigation.dart
@@ -16,12 +16,10 @@ List<Route> routes = [
child: new Block([
new Text("You are at home"),
new RaisedButton(
- key: 'b',
child: new Text('GO SHOPPING'),
onPressed: () => navigator.pushNamed('shopping')
),
new RaisedButton(
- key: 'a',
child: new Text('START ADVENTURE'),
onPressed: () => navigator.pushNamed('adventure')
)
@@ -36,12 +34,10 @@ List<Route> routes = [
child: new Block([
new Text("Village Shop"),
new RaisedButton(
- key: 'a',
child: new Text('RETURN HOME'),
onPressed: () => navigator.back()
),
new RaisedButton(
- key: 'b',
child: new Text('GO TO DUNGEON'),
onPressed: () => navigator.push(routes[2])
)
« no previous file with comments | « sky/examples/widgets/container.dart ('k') | sky/examples/widgets/sector.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698