Skip to content
This repository was archived by the owner on May 20, 2023. It is now read-only.

Commit ebb45c6

Browse files
alorenzennshahan
authored andcommitted
Add @OverRide annotation to all ControlValueAccessor.onDisabledChanged implementations, now that the method has actually been added to the interface.
PiperOrigin-RevId: 192252883
1 parent 5dc23c3 commit ebb45c6

File tree

6 files changed

+6
-0
lines changed

6 files changed

+6
-0
lines changed

lib/material_checkbox/material_checkbox.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,5 +319,6 @@ class MaterialCheckboxComponent implements ControlValueAccessor, Focusable {
319319
_onTouched?.call();
320320
}
321321

322+
@override
322323
void onDisabledChanged(bool isDisabled) {}
323324
}

lib/material_input/material_auto_suggest_input.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -802,5 +802,6 @@ class MaterialAutoSuggestInputComponent extends MaterialSelectBase
802802
}
803803
}
804804

805+
@override
805806
void onDisabledChanged(bool isDisabled) {}
806807
}

lib/material_input/material_input_default_value_accessor.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,5 +114,6 @@ abstract class BaseMaterialInputValueAccessor
114114
disposer.dispose();
115115
}
116116

117+
@override
117118
void onDisabledChanged(bool isDisabled) {}
118119
}

lib/material_radio/material_radio.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ class MaterialRadioComponent extends RootFocusable
9494
// not implemented
9595
}
9696

97+
@override
9798
void onDisabledChanged(bool isDisabled) {}
9899

99100
/// Value this radio represents, used in selection model with radio-group.

lib/material_radio/material_radio_group.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ class MaterialRadioGroupComponent
161161
// not implemented
162162
}
163163

164+
@override
164165
void onDisabledChanged(bool isDisabled) {}
165166

166167
void _resetTabIndex() {

lib/material_select/material_dropdown_select_accessor.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,5 +134,6 @@ abstract class BaseDropdownSelectValueAccessor
134134
_visibileSub?.cancel();
135135
}
136136

137+
@override
137138
void onDisabledChanged(bool isDisabled) {}
138139
}

0 commit comments

Comments
 (0)