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

Unified Diff: sky/examples/widgets/spinning_mixed.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/sector.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/examples/widgets/spinning_mixed.dart
diff --git a/sky/examples/widgets/spinning_mixed.dart b/sky/examples/widgets/spinning_mixed.dart
index 1de1fcdf2454ef98e367fd71e01d6613c23df24b..9bd00702f24aa170eb1808f4f252848e6fc6d5b7 100644
--- a/sky/examples/widgets/spinning_mixed.dart
+++ b/sky/examples/widgets/spinning_mixed.dart
@@ -37,7 +37,7 @@ class Rectangle extends Component {
Widget builder() {
return new Flex([
- new Rectangle(const Color(0xFF00FFFF), key: 'a'),
+ new Rectangle(const Color(0xFF00FFFF)),
new Container(
padding: new EdgeDims.all(10.0),
margin: new EdgeDims.all(10.0),
@@ -50,7 +50,7 @@ Widget builder() {
onPressed: () => print("Hello World")
)
),
- new Rectangle(const Color(0xFFFFFF00), key: 'b'),
+ new Rectangle(const Color(0xFFFFFF00)),
],
direction: FlexDirection.vertical,
justifyContent: FlexJustifyContent.spaceBetween
« no previous file with comments | « sky/examples/widgets/sector.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698