updateRenderObjectWithAnimatableParameters method

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

Updates the RenderObject with the current AnimatableParameter.animatedValues.

Implementation

@override
void updateRenderObjectWithAnimatableParameters(
  BuildContext context,
  covariant RenderLimitedBox renderObject,
  _LimitedBoxAnimatableParameters parameters,
) {
  renderObject.maxWidth = parameters.maxWidth.animatedValue;
  renderObject.maxHeight = parameters.maxHeight.animatedValue;
}