Index: sky/sdk/lib/framework/components2/popup_menu.dart |
diff --git a/sky/sdk/lib/framework/components2/popup_menu.dart b/sky/sdk/lib/framework/components2/popup_menu.dart |
index ef0ff3e53e264fabbd9061c0ec64a69119e9c4dc..760f0e2d4434093f2340b3aaa25f111a96fcf707 100644 |
--- a/sky/sdk/lib/framework/components2/popup_menu.dart |
+++ b/sky/sdk/lib/framework/components2/popup_menu.dart |
@@ -51,13 +51,6 @@ class PopupMenuController { |
} |
class PopupMenu extends AnimatedComponent { |
- List<List<UINode>> items; |
- int level; |
- PopupMenuController controller; |
- |
- double _position; |
- // int _width; |
- // int _height; |
PopupMenu({ Object key, this.controller, this.items, this.level }) |
: super(key: key) { |
@@ -67,6 +60,14 @@ class PopupMenu extends AnimatedComponent { |
// onDidMount(_measureSize); |
} |
+ List<List<UINode>> items; |
+ int level; |
+ PopupMenuController controller; |
+ |
+ double _position; |
+ // int _width; |
+ // int _height; |
+ |
double _opacityFor(int i) { |
if (_position == null || _position == 1.0) |
return null; |
@@ -113,4 +114,5 @@ class PopupMenu extends AnimatedComponent { |
) |
); |
} |
+ |
} |