reactionColor property

Color get reactionColor

The color that should be used for the reaction when the toggleable is active.

Used when the toggleable needs to change the reaction color/transparency that is displayed when the toggleable is active and tapped.

Implementation

Color get reactionColor => _reactionColor!;
set reactionColor (Color value)

Implementation

set reactionColor(Color value) {
  if (value == _reactionColor) {
    return;
  }
  _reactionColor = value;
  notifyListeners();
}