createAnimatableParameters method

  1. @override
_DecoratedBoxAnimatableParameters createAnimatableParameters(
  1. covariant RenderObject renderObject,
  2. AnimatableParameterHost host
)
override

Creates the AnimatableParameters for this widget.

Implementation

@override
_DecoratedBoxAnimatableParameters createAnimatableParameters(
  covariant RenderObject renderObject,
  AnimatableParameterHost host,
) {
  return (decoration: AnimatableDecoration(decoration, host: host),);
}