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

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

Issue 1190793002: Rename UINode to Widget. (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/widgets/menu_divider.dart ('k') | sky/sdk/lib/widgets/modal_overlay.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/sdk/lib/widgets/menu_item.dart
diff --git a/sky/sdk/lib/widgets/menu_item.dart b/sky/sdk/lib/widgets/menu_item.dart
index 5365450083b28029e2f06360dd6a640c794e29ae..220cd090cebdb51dba5264285319629457e5443a 100644
--- a/sky/sdk/lib/widgets/menu_item.dart
+++ b/sky/sdk/lib/widgets/menu_item.dart
@@ -6,7 +6,7 @@ import 'basic.dart';
import 'button_base.dart';
import 'icon.dart';
import 'ink_well.dart';
-import 'ui_node.dart';
+import 'widget.dart';
const BoxDecoration _kHighlightDecoration = const BoxDecoration(
backgroundColor: const Color.fromARGB(102, 153, 153, 153)
@@ -27,7 +27,7 @@ class MenuItem extends ButtonBase {
: super(key: key);
String icon;
- List<UINode> children;
+ List<Widget> children;
GestureEventListener onGestureTap;
void syncFields(MenuItem source) {
@@ -37,7 +37,7 @@ class MenuItem extends ButtonBase {
super.syncFields(source);
}
- UINode buildContent() {
+ Widget buildContent() {
return new EventListenerNode(
new Container(
child: new InkWell(
« no previous file with comments | « sky/sdk/lib/widgets/menu_divider.dart ('k') | sky/sdk/lib/widgets/modal_overlay.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698