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

Unified Diff: sky/sdk/lib/framework/widgets/popup_menu.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
« no previous file with comments | « sky/sdk/lib/framework/widgets/menu_item.dart ('k') | sky/sdk/lib/framework/widgets/popup_menu_item.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/sdk/lib/framework/widgets/popup_menu.dart
diff --git a/sky/sdk/lib/framework/widgets/popup_menu.dart b/sky/sdk/lib/framework/widgets/popup_menu.dart
index 8307996a575d3ff27bad8154bb6a123b1a9f580a..e8f8fcaf8d20885093cab7efc96e7b8ceaf4e7da 100644
--- a/sky/sdk/lib/framework/widgets/popup_menu.dart
+++ b/sky/sdk/lib/framework/widgets/popup_menu.dart
@@ -11,7 +11,6 @@ import '../painting/box_painter.dart';
import '../theme2/colors.dart';
import '../theme2/shadows.dart';
import 'animated_component.dart';
-import 'material.dart';
import 'popup_menu_item.dart';
import 'wrappers.dart';
@@ -60,7 +59,7 @@ class PopupMenu extends AnimatedComponent {
_painter = new BoxPainter(new BoxDecoration(
backgroundColor: Grey[50],
borderRadius: 2.0,
- boxShadow: Shadow[level]));
+ boxShadow: shadows[level]));
animate(controller.position, (double value) {
_position = value;
« no previous file with comments | « sky/sdk/lib/framework/widgets/menu_item.dart ('k') | sky/sdk/lib/framework/widgets/popup_menu_item.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698