updateRenderObjectWithAnimatableParameters method

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

Updates the RenderObject with the current AnimatableParameter.animatedValues.

Implementation

@override
void updateRenderObjectWithAnimatableParameters(
  BuildContext context,
  covariant RenderPadding renderObject,
  _PaddingAnimatableParameters parameters,
) {
  final (:padding) = parameters;
  renderObject.padding = padding.animatedValue;
}