inactiveColor property Null safety
The color that should be used in the inactive state (i.e., when ToggleableStateMixin.value is false).
For example, a checkbox should use this color when unchecked.
Implementation
Color get inactiveColor => _inactiveColor!;
Implementation
set inactiveColor(Color value) {
if (_inactiveColor == value) {
return;
}
_inactiveColor = value;
notifyListeners();
}