updateAnimatableParameters method

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

Updates the AnimatableParameters with the new values.

This is called when the widget is rebuilt.

Implementation

@override
void updateAnimatableParameters(
  BuildContext context,
  _LimitedBoxAnimatableParameters parameters,
) {
  parameters.maxWidth.value = maxWidth;
  parameters.maxHeight.value = maxHeight;
}