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

Unified Diff: sky/examples/widgets/container.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 | « no previous file | sky/examples/widgets/navigation.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/examples/widgets/container.dart
diff --git a/sky/examples/widgets/container.dart b/sky/examples/widgets/container.dart
index 2c61f698ce7c7e8f07a8c121f4412d12dae168ff..1b99fe4c291cf98c3170f91ab7776cda50f6702d 100644
--- a/sky/examples/widgets/container.dart
+++ b/sky/examples/widgets/container.dart
@@ -11,7 +11,6 @@ class ContainerApp extends App {
Widget build() {
return new Flex([
new Container(
- key: 'a',
padding: new EdgeDims.all(10.0),
margin: new EdgeDims.all(10.0),
decoration: new BoxDecoration(backgroundColor: const Color(0xFFCCCCCC)),
@@ -21,17 +20,14 @@ class ContainerApp extends App {
)
),
new Container(
- key: 'b',
decoration: new BoxDecoration(backgroundColor: const Color(0xFFFFFF00)),
padding: new EdgeDims.symmetric(horizontal: 50.0, vertical: 75.0),
child: new Flex([
new RaisedButton(
- key: 'b1',
child: new Text('PRESS ME'),
onPressed: () => print("Hello World")
),
new RaisedButton(
- key: 'b2',
child: new Text('DISABLED'),
onPressed: () => print("Hello World"),
enabled: false
« no previous file with comments | « no previous file | sky/examples/widgets/navigation.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698