createAnimatableParameters method

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

Creates the AnimatableParameters for this widget.

Implementation

@override
_FractionalTranslationAnimatableParameters createAnimatableParameters(
  covariant RenderObject renderObject,
  AnimatableParameterHost host,
) {
  return (translation: AnimatableObject(translation, host: host),);
}