reaction property Null safety

Animation<double> reaction

The visual value of the radial reaction animation.

Usually set to ToggleableStateMixin.reaction.

Implementation

Animation<double> get reaction => _reaction!;
void reaction=(Animation<double> value)

Implementation

set reaction(Animation<double> value) {
  if (value == _reaction) {
    return;
  }
  _reaction?.removeListener(notifyListeners);
  value.addListener(notifyListeners);
  _reaction = value;
  notifyListeners();
}