reactionColor property Null safety
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!;
Implementation
set reactionColor(Color value) {
if (value == _reactionColor) {
return;
}
_reactionColor = value;
notifyListeners();
}