focusColor property

Color get focusColor

The color that should be used for the reaction when isFocused is true.

Used when the toggleable needs to change the reaction color/transparency, when it has focus.

Implementation

Color get focusColor => _focusColor!;
set focusColor (Color value)

Implementation

set focusColor(Color value) {
  if (value == _focusColor) {
    return;
  }
  _focusColor = value;
  notifyListeners();
}