activeColor property

Color get activeColor

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!;
set activeColor (Color value)

Implementation

set activeColor(Color value) {
  if (_activeColor == value) {
    return;
  }
  _activeColor = value;
  notifyListeners();
}