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

Unified Diff: sky/sdk/lib/widgets/scrollable.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/scaffold.dart ('k') | sky/sdk/lib/widgets/scrollable_list.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/sdk/lib/widgets/scrollable.dart
diff --git a/sky/sdk/lib/widgets/scrollable.dart b/sky/sdk/lib/widgets/scrollable.dart
index 08d2881566724245109cdd2396304ca56232f0c1..c63005226ecca9b52192533b2618bd208b81361f 100644
--- a/sky/sdk/lib/widgets/scrollable.dart
+++ b/sky/sdk/lib/widgets/scrollable.dart
@@ -35,6 +35,7 @@ abstract class Scrollable extends StatefulComponent {
Color backgroundColor;
ScrollDirection direction;
+ @override
void syncFields(Scrollable source) {
backgroundColor = source.backgroundColor;
direction == source.direction;
@@ -55,6 +56,7 @@ abstract class Scrollable extends StatefulComponent {
Widget buildContent();
+ @override
Widget build() {
return new Listener(
child: new Material(
@@ -117,6 +119,7 @@ abstract class Scrollable extends StatefulComponent {
return scrollTo(newScrollOffset);
}
+ @override
void didUnmount() {
_stopSimulation();
super.didUnmount();
« no previous file with comments | « sky/sdk/lib/widgets/scaffold.dart ('k') | sky/sdk/lib/widgets/scrollable_list.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698