createAnimatableParameters method

  1. @override
_UniformPaddingAnimatableParameters createAnimatableParameters(
  1. covariant RenderPadding renderObject,
  2. AnimatableParameterHost host
)
override

Creates the AnimatableParameters for this widget.

Implementation

@override
_UniformPaddingAnimatableParameters createAnimatableParameters(
  covariant RenderPadding renderObject,
  AnimatableParameterHost host,
) {
  return (
    padding: AnimatableEdgeInsetsGeometry(
      renderObject.padding,
      host: host,
    )
  );
}