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