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

Unified Diff: sky/sdk/lib/widgets/radio.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/popup_menu_item.dart ('k') | sky/sdk/lib/widgets/raised_button.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/sdk/lib/widgets/radio.dart
diff --git a/sky/sdk/lib/widgets/radio.dart b/sky/sdk/lib/widgets/radio.dart
index 32f0c1c63c9fdc2d1de2de308af456b9b55ec7d4..23bd4246ed1dc822e96fc5ea9ee9f798a050da00 100644
--- a/sky/sdk/lib/widgets/radio.dart
+++ b/sky/sdk/lib/widgets/radio.dart
@@ -27,6 +27,7 @@ class Radio extends ButtonBase {
Object groupValue;
ValueChanged onChanged;
+ @override
void syncFields(Radio source) {
value = source.value;
groupValue = source.groupValue;
@@ -41,6 +42,7 @@ class Radio extends ButtonBase {
return themeData.brightness == ThemeBrightness.light ? _kLightOffColor : _kDarkOffColor;
}
+ @override
Widget buildContent() {
const double kDiameter = 16.0;
const double kOuterRadius = kDiameter / 2;
« no previous file with comments | « sky/sdk/lib/widgets/popup_menu_item.dart ('k') | sky/sdk/lib/widgets/raised_button.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698