updateRenderObjectWithAnimatableParameters method

  1. @override
void updateRenderObjectWithAnimatableParameters(
  1. BuildContext context,
  2. covariant RenderConstrainedBox renderObject,
  3. _ConstrainedBoxAnimatableParameters parameters
)
override

Updates the RenderObject with the current AnimatableParameter.animatedValues.

Implementation

@override
void updateRenderObjectWithAnimatableParameters(
  BuildContext context,
  covariant RenderConstrainedBox renderObject,
  _ConstrainedBoxAnimatableParameters parameters,
) {
  renderObject.additionalConstraints = parameters.constraints.animatedValue;
}