@@ -525,7 +525,7 @@ class _CheckboxRenderObjectWidget extends LeafRenderObjectWidget {
525
525
required this .hovering,
526
526
required this .shape,
527
527
required this .side,
528
- }) : assert (tristate || value != null ),
528
+ }) : assert (tristate || value != null ),
529
529
super (key: key);
530
530
531
531
final bool ? value;
@@ -614,7 +614,7 @@ class _RenderCheckbox extends RenderToggleable {
614
614
required this .shape,
615
615
required this .side,
616
616
required TickerProvider vsync,
617
- }) : _oldValue = value,
617
+ }) : _oldValue = value,
618
618
super (
619
619
value: value,
620
620
tristate: tristate,
@@ -930,6 +930,7 @@ abstract class RenderToggleable extends RenderConstrainedBox {
930
930
/// True if this toggleable has the input focus.
931
931
bool get hasFocus => _hasFocus;
932
932
bool _hasFocus;
933
+
933
934
set hasFocus (bool value) {
934
935
if (value == _hasFocus) {
935
936
return ;
@@ -946,6 +947,7 @@ abstract class RenderToggleable extends RenderConstrainedBox {
946
947
/// True if this toggleable is being hovered over by a pointer.
947
948
bool get hovering => _hovering;
948
949
bool _hovering;
950
+
949
951
set hovering (bool value) {
950
952
if (value == _hovering) {
951
953
return ;
@@ -962,6 +964,7 @@ abstract class RenderToggleable extends RenderConstrainedBox {
962
964
/// The [TickerProvider] for the [AnimationController] s that run the animations.
963
965
TickerProvider get vsync => _vsync;
964
966
TickerProvider _vsync;
967
+
965
968
set vsync (TickerProvider value) {
966
969
if (value == _vsync) {
967
970
return ;
@@ -982,6 +985,7 @@ abstract class RenderToggleable extends RenderConstrainedBox {
982
985
/// the new value.
983
986
bool ? get value => _value;
984
987
bool ? _value;
988
+
985
989
set value (bool ? value) {
986
990
assert (tristate || value != null );
987
991
if (value == _value) {
@@ -1015,6 +1019,7 @@ abstract class RenderToggleable extends RenderConstrainedBox {
1015
1019
/// considered to be in its third or "indeterminate" state.
1016
1020
bool get tristate => _tristate;
1017
1021
bool _tristate;
1022
+
1018
1023
set tristate (bool value) {
1019
1024
if (value == _tristate) {
1020
1025
return ;
@@ -1028,6 +1033,7 @@ abstract class RenderToggleable extends RenderConstrainedBox {
1028
1033
/// For example, a checkbox should use this color when checked.
1029
1034
Color get activeColor => _activeColor;
1030
1035
Color _activeColor;
1036
+
1031
1037
set activeColor (Color value) {
1032
1038
if (value == _activeColor) {
1033
1039
return ;
@@ -1041,6 +1047,7 @@ abstract class RenderToggleable extends RenderConstrainedBox {
1041
1047
/// For example, a checkbox should use this color when unchecked.
1042
1048
Color get inactiveColor => _inactiveColor;
1043
1049
Color _inactiveColor;
1050
+
1044
1051
set inactiveColor (Color value) {
1045
1052
if (value == _inactiveColor) {
1046
1053
return ;
@@ -1057,6 +1064,7 @@ abstract class RenderToggleable extends RenderConstrainedBox {
1057
1064
/// Defaults to the [activeColor] at alpha [kRadialReactionAlpha] .
1058
1065
Color get hoverColor => _hoverColor;
1059
1066
Color _hoverColor;
1067
+
1060
1068
set hoverColor (Color value) {
1061
1069
if (value == _hoverColor) {
1062
1070
return ;
@@ -1073,6 +1081,7 @@ abstract class RenderToggleable extends RenderConstrainedBox {
1073
1081
/// Defaults to the [activeColor] at alpha [kRadialReactionAlpha] .
1074
1082
Color get focusColor => _focusColor;
1075
1083
Color _focusColor;
1084
+
1076
1085
set focusColor (Color value) {
1077
1086
if (value == _focusColor) {
1078
1087
return ;
@@ -1090,6 +1099,7 @@ abstract class RenderToggleable extends RenderConstrainedBox {
1090
1099
/// Defaults to the [activeColor] at alpha [kRadialReactionAlpha] .
1091
1100
Color ? get reactionColor => _reactionColor;
1092
1101
Color ? _reactionColor;
1102
+
1093
1103
set reactionColor (Color ? value) {
1094
1104
if (value == _reactionColor) {
1095
1105
return ;
@@ -1107,6 +1117,7 @@ abstract class RenderToggleable extends RenderConstrainedBox {
1107
1117
/// Defaults to the [activeColor] at alpha [kRadialReactionAlpha] .
1108
1118
Color ? get inactiveReactionColor => _inactiveReactionColor;
1109
1119
Color ? _inactiveReactionColor;
1120
+
1110
1121
set inactiveReactionColor (Color ? value) {
1111
1122
if (value == _inactiveReactionColor) {
1112
1123
return ;
@@ -1118,6 +1129,7 @@ abstract class RenderToggleable extends RenderConstrainedBox {
1118
1129
/// The splash radius for the radial reaction.
1119
1130
double get splashRadius => _splashRadius;
1120
1131
double _splashRadius;
1132
+
1121
1133
set splashRadius (double value) {
1122
1134
if (value == _splashRadius) {
1123
1135
return ;
@@ -1137,6 +1149,7 @@ abstract class RenderToggleable extends RenderConstrainedBox {
1137
1149
/// displayed using a grey color and its value cannot be changed.
1138
1150
ValueChanged <bool ?>? get onChanged => _onChanged;
1139
1151
ValueChanged <bool ?>? _onChanged;
1152
+
1140
1153
set onChanged (ValueChanged <bool ?>? value) {
1141
1154
if (value == _onChanged) {
1142
1155
return ;
0 commit comments