Index: sky/examples/fn/widgets/menuitem.dart |
diff --git a/sky/examples/fn/widgets/menuitem.dart b/sky/examples/fn/widgets/menuitem.dart |
index 6a7407b1d5d7575d29b0aca1930fb6734cc1cc3b..85f8d506671ce375b2f25e75c0d395d328e16249 100644 |
--- a/sky/examples/fn/widgets/menuitem.dart |
+++ b/sky/examples/fn/widgets/menuitem.dart |
@@ -35,11 +35,11 @@ class MenuItem extends ButtonBase { |
MenuItem({ Object key, this.icon, this.children }) : super(key: key); |
- Node render() { |
+ Node build() { |
return new Container( |
style: _highlight ? _highlightStyle : _style, |
children: [ |
- super.render(), |
+ super.build(), |
new Icon( |
style: _iconStyle, |
size: 24, |