updateAnimatableParameters method

  1. @override
void updateAnimatableParameters(
  1. BuildContext context,
  2. _DecoratedBoxAnimatableParameters parameters
)
override

Updates the AnimatableParameters with the new values.

This is called when the widget is rebuilt.

Implementation

@override
void updateAnimatableParameters(
  BuildContext context,
  _DecoratedBoxAnimatableParameters parameters,
) {
  parameters.decoration.value = decoration;
}