updateAnimatableParameters method

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

Updates the AnimatableParameters with the new values.

This is called when the widget is rebuilt.

Implementation

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