inactiveReactionColor property Null safety
The color that should be used for the reaction when the toggleable is inactive.
Used when the toggleable needs to change the reaction color/transparency that is displayed when the toggleable is inactive and tapped.
Implementation
Color get inactiveReactionColor => _inactiveReactionColor!;
Implementation
set inactiveReactionColor(Color value) {
if (value == _inactiveReactionColor) {
return;
}
_inactiveReactionColor = value;
notifyListeners();
}