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

Unified Diff: sky/sdk/lib/framework/components2/modal_overlay.dart

Issue 1172173002: Clean up a bunch of our Dart code. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: upstream merge 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/sdk/lib/framework/components2/menu_item.dart ('k') | sky/sdk/lib/framework/components2/popup_menu.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/sdk/lib/framework/components2/modal_overlay.dart
diff --git a/sky/sdk/lib/framework/components2/modal_overlay.dart b/sky/sdk/lib/framework/components2/modal_overlay.dart
index 7af446c818ed3e72389518174bbbac3e133e81ba..282ee126c4a2ce102a9cb76e46d9165ebdccd059 100644
--- a/sky/sdk/lib/framework/components2/modal_overlay.dart
+++ b/sky/sdk/lib/framework/components2/modal_overlay.dart
@@ -5,6 +5,9 @@
import '../fn2.dart';
class ModalOverlay extends Component {
+
+ ModalOverlay({ Object key, this.children, this.onDismiss }) : super(key: key);
+
// static final Style _style = new Style('''
// position: absolute;
// top: 0;
@@ -15,11 +18,10 @@ class ModalOverlay extends Component {
List<UINode> children;
GestureEventListener onDismiss;
- ModalOverlay({ Object key, this.children, this.onDismiss }) : super(key: key);
-
UINode build() {
return new EventListenerNode(
new StackContainer(children: children),
onGestureTap: onDismiss);
}
+
}
« no previous file with comments | « sky/sdk/lib/framework/components2/menu_item.dart ('k') | sky/sdk/lib/framework/components2/popup_menu.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698