applyUpdateToAnimatableParameters method

  1. @protected
void applyUpdateToAnimatableParameters()

Updates the values of the hosted AnimatableParameters.

Implementation

@protected
void applyUpdateToAnimatableParameters() {
  final transaction = Transaction.of(context);
  if (transaction is AnimationSpec) {
    runWithAnimation(transaction, updateAnimatableParameters);
  } else {
    updateAnimatableParameters();
  }
}