updateRenderObjectWithAnimatableParameters method

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

Updates the RenderObject with the current AnimatableParameter.animatedValues.

Implementation

@override
void updateRenderObjectWithAnimatableParameters(
  BuildContext context,
  covariant RenderDecoratedBox renderObject,
  _DecoratedBoxAnimatableParameters parameters,
) {
  renderObject.decoration = parameters.decoration.animatedValue;
}