updateAnimatableParameters method

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

Updates the AnimatableParameters with the new values.

This is called when the widget is rebuilt.

Implementation

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