focusColor property Null safety

Color 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!;
void focusColor=(Color value)

Implementation

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