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

Unified Diff: sky/sdk/lib/widgets/basic.dart

Issue 1179763009: Give ParentDataNodes snappier names (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: nit 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/spinning_mixed.dart ('k') | sky/sdk/lib/widgets/drawer_header.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/sdk/lib/widgets/basic.dart
diff --git a/sky/sdk/lib/widgets/basic.dart b/sky/sdk/lib/widgets/basic.dart
index 687c116ebab036ae9de31fff5ba56148e82c476b..96864c4d6e9864cfb5f2e8467cc9a1c6b19aab3d 100644
--- a/sky/sdk/lib/widgets/basic.dart
+++ b/sky/sdk/lib/widgets/basic.dart
@@ -306,9 +306,13 @@ class Stack extends MultiChildRenderObjectWrapper {
}
-class StackPositionedChild extends ParentDataNode {
- StackPositionedChild(UINode content, {
- double top, double right, double bottom, double left
+class Positioned extends ParentDataNode {
+ Positioned({
+ UINode child,
+ double top,
+ double right,
+ double bottom,
+ double left
}) : super(content, new StackParentData()..top = top
..right = right
..bottom = bottom
@@ -340,9 +344,9 @@ class Flex extends MultiChildRenderObjectWrapper {
}
-class FlexExpandingChild extends ParentDataNode {
- FlexExpandingChild(UINode content, { int flex: 1, Object key })
- : super(content, new FlexBoxParentData()..flex = flex, key: key);
+class Flexible extends ParentDataNode {
+ Flexible({ UINode child, int flex: 1, Object key })
+ : super(child, new FlexBoxParentData()..flex = flex, key: key);
}
class Paragraph extends RenderObjectWrapper {
« no previous file with comments | « sky/examples/widgets/spinning_mixed.dart ('k') | sky/sdk/lib/widgets/drawer_header.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698