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

Unified Diff: sky/sdk/lib/widgets/popup_menu.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/navigator.dart ('k') | sky/sdk/lib/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/widgets/popup_menu.dart
diff --git a/sky/sdk/lib/widgets/popup_menu.dart b/sky/sdk/lib/widgets/popup_menu.dart
index bf357eece3917eefdeef1d56a1781fbc1d208ba2..759e52d9c972a65c015c9519cc9e1e4dc6dfb99d 100644
--- a/sky/sdk/lib/widgets/popup_menu.dart
+++ b/sky/sdk/lib/widgets/popup_menu.dart
@@ -73,6 +73,7 @@ class PopupMenu extends AnimatedComponent {
List<PopupMenuItem> items;
int level;
+ @override
void syncFields(PopupMenu source) {
controller = source.controller;
items = source.items;
@@ -93,6 +94,7 @@ class PopupMenu extends AnimatedComponent {
return math.max(0.0, math.min(1.0, (controller.position.value - start) / duration));
}
+ @override
Widget build() {
int i = 0;
List<Widget> children = new List.from(items.map((Widget item) {
« no previous file with comments | « sky/sdk/lib/widgets/navigator.dart ('k') | sky/sdk/lib/widgets/popup_menu_item.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698