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

Unified Diff: sky/sdk/lib/widgets/button_base.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/block_viewport.dart ('k') | sky/sdk/lib/widgets/card.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/sdk/lib/widgets/button_base.dart
diff --git a/sky/sdk/lib/widgets/button_base.dart b/sky/sdk/lib/widgets/button_base.dart
index 3fcb4e079f29aeded86ebf5fe5badd3e7799c5c4..4e53516584602450a2362320819dbea8c768502d 100644
--- a/sky/sdk/lib/widgets/button_base.dart
+++ b/sky/sdk/lib/widgets/button_base.dart
@@ -10,6 +10,7 @@ abstract class ButtonBase extends StatefulComponent {
bool highlight;
+ @override
void syncFields(ButtonBase source) {
highlight = source.highlight;
}
@@ -30,6 +31,7 @@ abstract class ButtonBase extends StatefulComponent {
});
}
+ @override
Widget build() {
return new Listener(
child: buildContent(),
« no previous file with comments | « sky/sdk/lib/widgets/block_viewport.dart ('k') | sky/sdk/lib/widgets/card.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698