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

Unified Diff: sky/sdk/lib/framework/widgets/ink_well.dart

Issue 1179713004: Material and RaisedButton. (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
Index: sky/sdk/lib/framework/widgets/ink_well.dart
diff --git a/sky/sdk/lib/framework/widgets/ink_well.dart b/sky/sdk/lib/framework/widgets/ink_well.dart
index 48188f52a93897b1827a7a7cb3224e805dfb5489..5b28a7ff77ebaeaab581518a0929b68282e3a7d9 100644
--- a/sky/sdk/lib/framework/widgets/ink_well.dart
+++ b/sky/sdk/lib/framework/widgets/ink_well.dart
@@ -8,7 +8,6 @@ import 'dart:sky' as sky;
import '../animation/animated_value.dart';
import '../animation/curves.dart';
import '../rendering/box.dart';
-import '../rendering/flex.dart';
import '../rendering/object.dart';
import 'ui_node.dart';
import 'wrappers.dart';
@@ -100,27 +99,11 @@ class RenderInkWell extends RenderProxyBox {
}
}
-class InkWellWrapper extends OneChildRenderObjectWrapper {
- InkWellWrapper({ UINode child, Object key })
+class InkWell extends OneChildRenderObjectWrapper {
+ InkWell({ UINode child, Object key })
: super(child: child, key: key);
RenderInkWell get root { RenderInkWell result = super.root; return result; }
RenderInkWell createNode() => new RenderInkWell();
}
-
-class InkWell extends Component {
- InkWell({ Object key, this.children }) : super(key: key);
-
- final List<UINode> children;
-
- UINode build() {
- return new InkWellWrapper(
- child: new Flex(
- children,
- direction: FlexDirection.horizontal,
- justifyContent: FlexJustifyContent.center
- )
- );
- }
-}
« no previous file with comments | « sky/sdk/lib/framework/widgets/floating_action_button.dart ('k') | sky/sdk/lib/framework/widgets/material.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698