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

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

Issue 1226113007: Add @override annotation to known overriden methods (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 5 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 98de178cf1a6faab4fbdcf20db0dc5eca933a154..78f106f74baa0ed94d11870a896fca3001bd7366 100644
--- a/sky/sdk/lib/widgets/menu_item.dart
+++ b/sky/sdk/lib/widgets/menu_item.dart
@@ -34,6 +34,7 @@ class MenuItem extends ButtonBase {
Function onPressed;
bool selected;
+ @override
void syncFields(MenuItem source) {
icon = source.icon;
children = source.children;
@@ -58,6 +59,7 @@ class MenuItem extends ButtonBase {
}
}
+ @override
Widget buildContent() {
List<Widget> flexChildren = new List<Widget>();
if (icon != null) {
« 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